| Geoc (geocanvas) Reference Manual | ||||
|---|---|---|---|---|
"anchor" GtkAnchorType : Read / Write "fill-color" gchar* : Read / Write "fill-color-rgba" guint : Read / Write "font" gchar* : Read / Write "pixbuf" GObject* : Read / Write "scaleable" gboolean : Read / Write "text" gchar* : Read / Write "use-markup" gboolean : Read / Write "x-offset" gdouble : Read / Write "y-offset" gdouble : Read / Write
This class implements the GeocItem interface. It specializes in drawing geographic features that can be referenced to a single point on the earth. The items in the group itemtype can be any canvas item that has an x and y coordinate pair. In most cases, it is not necessary to interact directly with this class.
"anchor" property"anchor" GtkAnchorType : Read / Write
The part of the pixbuf that is referenced to the item's x, y coordinates.
Default value: GTK_ANCHOR_NORTH_WEST
"fill-color" property"fill-color" gchar* : Read / Write
A string color such as 'red', or '#123456'.
Default value: NULL
"fill-color-rgba" property"fill-color-rgba" guint : Read / Write
Text color, red,grn,blue,alpha.
Default value: 0
"font" property"font" gchar* : Read / Write
A pango font description string of the form [FAMILY-LIST] [STYLE-OPTIONS] [SIZE].
Default value: NULL
"pixbuf" property"pixbuf" GObject* : Read / Write
The GDK Pixbuf to draw. For images that are in other formats it may be more convenient to use the #CrPixbuf:png or #CrPixbuf:surface properties directly.
"scaleable" property"scaleable" gboolean : Read / Write
When True the size of the text is in item units. When False, the size is in device/pixel units. This effects x/y_offset as well. See also @CrInverse for another way to achieve the same effect.
Default value: TRUE
"use-markup" property"use-markup" gboolean : Read / Write
If html style markup language should be used.
Default value: FALSE
"x-offset" property"x-offset" gdouble : Read / Write
A device offset from the item's anchor position. Only used when scaleable=FALSE.
Default value: 0
"y-offset" property"y-offset" gdouble : Read / Write
A device offset from the item's anchor position. Only used when scaleable=FALSE.
Default value: 0