GimpCanvasTransformGuides

GimpCanvasTransformGuides

Synopsis

struct              GimpCanvasTransformGuides;
struct              GimpCanvasTransformGuidesClass;
GimpCanvasItem *    gimp_canvas_transform_guides_new    (GimpDisplayShell *shell,
                                                         const GimpMatrix3 *transform,
                                                         gdouble x1,
                                                         gdouble y1,
                                                         gdouble x2,
                                                         gdouble y2,
                                                         GimpGuidesType type,
                                                         gint n_guides);
void                gimp_canvas_transform_guides_set    (GimpCanvasItem *guides,
                                                         const GimpMatrix3 *transform,
                                                         GimpGuidesType type,
                                                         gint n_guides);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpCanvasItem
               +----GimpCanvasTransformGuides

Properties

  "n-guides"                 gint                  : Read / Write
  "transform"                GimpMatrix3*          : Read / Write
  "type"                     GimpGuidesType        : Read / Write
  "x1"                       gdouble               : Read / Write
  "x2"                       gdouble               : Read / Write
  "y1"                       gdouble               : Read / Write
  "y2"                       gdouble               : Read / Write

Description

Details

struct GimpCanvasTransformGuides

struct GimpCanvasTransformGuides;


struct GimpCanvasTransformGuidesClass

struct GimpCanvasTransformGuidesClass {
  GimpCanvasItemClass  parent_class;
};


gimp_canvas_transform_guides_new ()

GimpCanvasItem *    gimp_canvas_transform_guides_new    (GimpDisplayShell *shell,
                                                         const GimpMatrix3 *transform,
                                                         gdouble x1,
                                                         gdouble y1,
                                                         gdouble x2,
                                                         gdouble y2,
                                                         GimpGuidesType type,
                                                         gint n_guides);


gimp_canvas_transform_guides_set ()

void                gimp_canvas_transform_guides_set    (GimpCanvasItem *guides,
                                                         const GimpMatrix3 *transform,
                                                         GimpGuidesType type,
                                                         gint n_guides);

Property Details

The "n-guides" property

  "n-guides"                 gint                  : Read / Write

Allowed values: [1,128]

Default value: 4


The "transform" property

  "transform"                GimpMatrix3*          : Read / Write


The "type" property

  "type"                     GimpGuidesType        : Read / Write

Default value: GIMP_GUIDES_NONE


The "x1" property

  "x1"                       gdouble               : Read / Write

Allowed values: [-262144,262144]

Default value: 0


The "x2" property

  "x2"                       gdouble               : Read / Write

Allowed values: [-262144,262144]

Default value: 0


The "y1" property

  "y1"                       gdouble               : Read / Write

Allowed values: [-262144,262144]

Default value: 0


The "y2" property

  "y2"                       gdouble               : Read / Write

Allowed values: [-262144,262144]

Default value: 0