GimpCanvasRectangle

GimpCanvasRectangle

Synopsis

struct              GimpCanvasRectangle;
struct              GimpCanvasRectangleClass;
GimpCanvasItem *    gimp_canvas_rectangle_new           (GimpDisplayShell *shell,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble width,
                                                         gdouble height,
                                                         gboolean filled);
void                gimp_canvas_rectangle_set           (GimpCanvasItem *rectangle,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble width,
                                                         gdouble height);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpCanvasItem
               +----GimpCanvasRectangle
                     +----GimpCanvasLayerBoundary
                     +----GimpCanvasPassePartout

Properties

  "filled"                   gboolean              : Read / Write
  "height"                   gdouble               : Read / Write
  "width"                    gdouble               : Read / Write
  "x"                        gdouble               : Read / Write
  "y"                        gdouble               : Read / Write

Description

Details

struct GimpCanvasRectangle

struct GimpCanvasRectangle;


struct GimpCanvasRectangleClass

struct GimpCanvasRectangleClass {
  GimpCanvasItemClass  parent_class;
};


gimp_canvas_rectangle_new ()

GimpCanvasItem *    gimp_canvas_rectangle_new           (GimpDisplayShell *shell,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble width,
                                                         gdouble height,
                                                         gboolean filled);


gimp_canvas_rectangle_set ()

void                gimp_canvas_rectangle_set           (GimpCanvasItem *rectangle,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble width,
                                                         gdouble height);

Property Details

The "filled" property

  "filled"                   gboolean              : Read / Write

Default value: FALSE


The "height" property

  "height"                   gdouble               : Read / Write

Allowed values: [-262144,262144]

Default value: 0


The "width" property

  "width"                    gdouble               : Read / Write

Allowed values: [-262144,262144]

Default value: 0


The "x" property

  "x"                        gdouble               : Read / Write

Allowed values: [-262144,262144]

Default value: 0


The "y" property

  "y"                        gdouble               : Read / Write

Allowed values: [-262144,262144]

Default value: 0