| Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct ChamplainPoint; ClutterActor * champlain_point_new (void); ClutterActor * champlain_point_new_full (gdouble size,const ClutterColor *color); void champlain_point_set_color (ChamplainPoint *point,const ClutterColor *color); ClutterColor * champlain_point_get_color (ChamplainPoint *point); void champlain_point_set_size (ChamplainPoint *point,gdouble size); gdouble champlain_point_get_size (ChamplainPoint *point);
GObject
+----GInitiallyUnowned
+----ClutterActor
+----ChamplainMarker
+----ChamplainPoint
ChamplainPoint implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface and ChamplainLocation.
ChamplainPoint is a simple variant of ChamplainMarker. Contrary to ChamplainLabel, it is not capable of labelling the point with text and only shows the location of the point as a circle on the map.
struct ChamplainPoint;
The ChamplainPoint structure contains only private data and should be accessed using the provided API
Since 0.10
ClutterActor * champlain_point_new (void);
Creates an instance of ChamplainPoint with default size and color.
Returns : |
a new ChamplainPoint. |
Since 0.10
ClutterActor * champlain_point_new_full (gdouble size,const ClutterColor *color);
Creates an instance of ChamplainPoint with the specified size and color.
|
Marker size |
|
Marker color |
Returns : |
a new ChamplainPoint. |
Since 0.10
void champlain_point_set_color (ChamplainPoint *point,const ClutterColor *color);
Set the color of the point.
|
a ChamplainPoint |
|
The color of the point or NULL to reset the background to the default color. The color parameter is copied. [allow-none] |
Since 0.10
ClutterColor * champlain_point_get_color (ChamplainPoint *point);
Gets the color of the point.
|
a ChamplainPoint |
Returns : |
the color. |
Since 0.10
void champlain_point_set_size (ChamplainPoint *point,gdouble size);
Set the size of the point.
|
a ChamplainPoint |
|
The size of the point. |
Since 0.10
gdouble champlain_point_get_size (ChamplainPoint *point);
Gets the size of the point.
|
a ChamplainPoint |
Returns : |
the size. |
Since 0.10