GimpCanvasPolygon

GimpCanvasPolygon

Synopsis

struct              GimpCanvasPolygon;
struct              GimpCanvasPolygonClass;
GimpCanvasItem *    gimp_canvas_polygon_new             (GimpDisplayShell *shell,
                                                         const GimpVector2 *points,
                                                         gint n_points,
                                                         gboolean filled);
GimpCanvasItem *    gimp_canvas_polygon_new_from_coords (GimpDisplayShell *shell,
                                                         const GimpCoords *coords,
                                                         gint n_coords,
                                                         gboolean filled);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpCanvasItem
               +----GimpCanvasPolygon
                     +----GimpCanvasPen

Properties

  "filled"                   gboolean              : Read / Write
  "points"                   GimpArray*            : Read / Write

Description

Details

struct GimpCanvasPolygon

struct GimpCanvasPolygon;


struct GimpCanvasPolygonClass

struct GimpCanvasPolygonClass {
  GimpCanvasItemClass  parent_class;
};


gimp_canvas_polygon_new ()

GimpCanvasItem *    gimp_canvas_polygon_new             (GimpDisplayShell *shell,
                                                         const GimpVector2 *points,
                                                         gint n_points,
                                                         gboolean filled);


gimp_canvas_polygon_new_from_coords ()

GimpCanvasItem *    gimp_canvas_polygon_new_from_coords (GimpDisplayShell *shell,
                                                         const GimpCoords *coords,
                                                         gint n_coords,
                                                         gboolean filled);

Property Details

The "filled" property

  "filled"                   gboolean              : Read / Write

Default value: FALSE


The "points" property

  "points"                   GimpArray*            : Read / Write