manpagez: man pages & more
html files: goffice-0.10
Home | html | info | man


GocPolygon — Polygon.


gboolean fill-rule Read / Write
GocPoints * points Read / Write
GocIntArray * sizes Read / Write
gboolean use-spline Read / Write

Types and Values

Object Hierarchy

    ╰── GocItem
        ╰── GocStyledItem
            ╰── GocPolygon

Implemented Interfaces

GocPolygon implements GOStyledObject.


GocPolygon implements polygon drawing in the canvas.


Types and Values


typedef struct _GocPolygon GocPolygon;


typedef GocStyledItemClass GocPolygonClass;

Property Details

The “fill-rule” property

  “fill-rule”                gboolean

Set fill rule to winding or even/odd.

Flags: Read / Write

Default value: FALSE

The “points” property

  “points”                   GocPoints *

The polygon vertices.

Flags: Read / Write

The “sizes” property

  “sizes”                    GocIntArray *

If set, the polygon will be split as several polygons according to the given sizes. Each size must be at least 3. Values following an invalid value will be discarded. Setting the "point" property will reset the sizes.

Flags: Read / Write

The “use-spline” property

  “use-spline”               gboolean

Use a Bezier closed cubic spline as contour.

Flags: Read / Write

Default value: FALSE

© 2000-2024
Individual documents may contain additional copyright information.