GimpCanvasRectangleGuides

GimpCanvasRectangleGuides

Synopsis

struct              GimpCanvasRectangleGuides;
struct              GimpCanvasRectangleGuidesClass;
GimpCanvasItem *    gimp_canvas_rectangle_guides_new    (GimpDisplayShell *shell,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble width,
                                                         gdouble height,
                                                         GimpGuidesType type,
                                                         gint n_guides);
void                gimp_canvas_rectangle_guides_set    (GimpCanvasItem *rectangle,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble width,
                                                         gdouble height,
                                                         GimpGuidesType type,
                                                         gint n_guides);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpCanvasItem
               +----GimpCanvasRectangleGuides

Properties

  "height"                   gdouble               : Read / Write
  "n-guides"                 gint                  : Read / Write
  "type"                     GimpGuidesType        : Read / Write
  "width"                    gdouble               : Read / Write
  "x"                        gdouble               : Read / Write
  "y"                        gdouble               : Read / Write

Description

Details

struct GimpCanvasRectangleGuides

struct GimpCanvasRectangleGuides;


struct GimpCanvasRectangleGuidesClass

struct GimpCanvasRectangleGuidesClass {
  GimpCanvasItemClass  parent_class;
};


gimp_canvas_rectangle_guides_new ()

GimpCanvasItem *    gimp_canvas_rectangle_guides_new    (GimpDisplayShell *shell,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble width,
                                                         gdouble height,
                                                         GimpGuidesType type,
                                                         gint n_guides);


gimp_canvas_rectangle_guides_set ()

void                gimp_canvas_rectangle_guides_set    (GimpCanvasItem *rectangle,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble width,
                                                         gdouble height,
                                                         GimpGuidesType type,
                                                         gint n_guides);

Property Details

The "height" property

  "height"                   gdouble               : Read / Write

Allowed values: [-262144,262144]

Default value: 0


The "n-guides" property

  "n-guides"                 gint                  : Read / Write

Allowed values: [1,128]

Default value: 4


The "type" property

  "type"                     GimpGuidesType        : Read / Write

Default value: GIMP_GUIDES_NONE


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