Top |
Object Hierarchy
GObject ╰── GInitiallyUnowned ╰── ClutterActor ╰── ChamplainMarker ╰── ChamplainPoint
Implemented Interfaces
ChamplainPoint implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface and ChamplainLocation.
Description
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.
Functions
champlain_point_new ()
ClutterActor *
champlain_point_new (void
);
Creates an instance of ChamplainPoint with default size and color.
Since 0.10
champlain_point_new_full ()
ClutterActor * champlain_point_new_full (gdouble size
,const ClutterColor *color
);
Creates an instance of ChamplainPoint with the specified size and color.
Since 0.10
champlain_point_set_color ()
void champlain_point_set_color (ChamplainPoint *point
,const ClutterColor *color
);
Set the color of the point.
Parameters
point |
||
color |
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
champlain_point_get_color ()
ClutterColor *
champlain_point_get_color (ChamplainPoint *point
);
Gets the color of the point.
Since 0.10
champlain_point_set_size ()
void champlain_point_set_size (ChamplainPoint *point
,gdouble size
);
Set the size of the point.
Since 0.10
champlain_point_get_size ()
gdouble
champlain_point_get_size (ChamplainPoint *point
);
Gets the size of the point.
Since 0.10
Types and Values
struct ChamplainPoint
struct ChamplainPoint;
The ChamplainPoint structure contains only private data and should be accessed using the provided API
Since 0.10
Property Details
The “size”
property
“size” gdouble
The point size.
Flags: Read / Write
Allowed values: >= 0
Default value: 12