GeocLinesFaster

GeocLinesFaster — A multi-polygon item that paints faster then GeocLines.

Synopsis

                    GeocLinesFaster;

Object Hierarchy

  GObject
   +----CrItem
         +----GeocItem
               +----GeocLinesFaster

Properties

  "close"                    gboolean              : Read / Write
  "dash"                     CrDash*               : Read / Write
  "fill-color"               gchar*                : Read / Write
  "fill-color-rgba"          guint                 : Read / Write
  "line-scaleable"           gboolean              : Read / Write
  "line-width"               gdouble               : Read / Write
  "outline-color"            gchar*                : Read / Write
  "outline-color-rgba"       guint                 : Read / Write

Description

This item implements the GeocItem interface for drawing polygons. It uses GDK drawing routines vice Cairo as a result the quality is lower (no anti-aliasing). For items with over 100000 points, this may have a 70X performance improvement. It is functionally similar to GeocLines except that it forces all polygons to have the same properties.

Details

GeocLinesFaster

typedef struct _GeocLinesFaster GeocLinesFaster;

Property Details

The "close" property

  "close"                    gboolean              : Read / Write

True, if it is a polygon.

Default value: TRUE


The "dash" property

  "dash"                     CrDash*               : Read / Write

a boxed array indicating the dash pattern to be used by Cairo. See #cairo_set_dash for more information.


The "fill-color" property

  "fill-color"               gchar*                : Read / Write

A string color such as 'red', or '#123456' to be used to fill the path.

Default value: NULL


The "fill-color-rgba" property

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

Region fill color, red,grn,blue,alpha.

Default value: 0


The "line-scaleable" property

  "line-scaleable"           gboolean              : Read / Write

If line width should be scaleable.

Default value: TRUE


The "line-width" property

  "line-width"               gdouble               : Read / Write

Path line width in user units when #CrPath:line-scaleable is TRUE. When #CrPath:line-scaleable is FALSE this is in device units.

Default value: 2


The "outline-color" property

  "outline-color"            gchar*                : Read / Write

A string color such as 'red', or '#123456' to be used to sroke the path.

Default value: NULL


The "outline-color-rgba" property

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

Path color, red,grn,blue,alpha.

Default value: 0

See Also

GeocLines, GeocItem