GeocPlaces

GeocPlaces — A group of geographic point locations with a homogenous representation.

Synopsis

                    GeocPlaces;

Object Hierarchy

  GObject
   +----CrItem
         +----GeocItem
               +----GeocPlaces

Properties

  "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

Description

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.

Details

GeocPlaces

typedef struct _GeocPlaces GeocPlaces;

Property Details

The "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


The "fill-color" property

  "fill-color"               gchar*                : Read / Write

A string color such as 'red', or '#123456'.

Default value: NULL


The "fill-color-rgba" property

  "fill-color-rgba"          guint                 : Read / Write

Text color, red,grn,blue,alpha.

Default value: 0


The "font" property

  "font"                     gchar*                : Read / Write

A pango font description string of the form [FAMILY-LIST] [STYLE-OPTIONS] [SIZE].

Default value: NULL


The "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.


The "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


The "text" property

  "text"                     gchar*                : Read / Write

The text to be drawn.

Default value: NULL


The "use-markup" property

  "use-markup"               gboolean              : Read / Write

If html style markup language should be used.

Default value: FALSE


The "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


The "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