GimpCanvasHandle

GimpCanvasHandle

Synopsis

struct              GimpCanvasHandle;
struct              GimpCanvasHandleClass;
GimpCanvasItem *    gimp_canvas_handle_new              (GimpDisplayShell *shell,
                                                         GimpHandleType type,
                                                         GimpHandleAnchor anchor,
                                                         gdouble x,
                                                         gdouble y,
                                                         gint width,
                                                         gint height);
void                gimp_canvas_handle_set_angles       (GimpCanvasItem *handle,
                                                         gdouble start_handle,
                                                         gdouble slice_handle);
void                gimp_canvas_handle_set_position     (GimpCanvasItem *handle,
                                                         gdouble x,
                                                         gdouble y);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpCanvasItem
               +----GimpCanvasHandle

Properties

  "anchor"                   GimpHandleAnchor      : Read / Write
  "height"                   gint                  : Read / Write
  "slice-angle"              gdouble               : Read / Write
  "start-angle"              gdouble               : Read / Write
  "type"                     GimpHandleType        : Read / Write
  "width"                    gint                  : Read / Write
  "x"                        gdouble               : Read / Write
  "y"                        gdouble               : Read / Write

Description

Details

struct GimpCanvasHandle

struct GimpCanvasHandle;


struct GimpCanvasHandleClass

struct GimpCanvasHandleClass {
  GimpCanvasItemClass  parent_class;
};


gimp_canvas_handle_new ()

GimpCanvasItem *    gimp_canvas_handle_new              (GimpDisplayShell *shell,
                                                         GimpHandleType type,
                                                         GimpHandleAnchor anchor,
                                                         gdouble x,
                                                         gdouble y,
                                                         gint width,
                                                         gint height);


gimp_canvas_handle_set_angles ()

void                gimp_canvas_handle_set_angles       (GimpCanvasItem *handle,
                                                         gdouble start_handle,
                                                         gdouble slice_handle);


gimp_canvas_handle_set_position ()

void                gimp_canvas_handle_set_position     (GimpCanvasItem *handle,
                                                         gdouble x,
                                                         gdouble y);

Property Details

The "anchor" property

  "anchor"                   GimpHandleAnchor      : Read / Write

Default value: GIMP_HANDLE_ANCHOR_CENTER


The "height" property

  "height"                   gint                  : Read / Write

Allowed values: [3,1001]

Default value: 7


The "slice-angle" property

  "slice-angle"              gdouble               : Read / Write

Allowed values: [-1000,1000]

Default value: 6.28319


The "start-angle" property

  "start-angle"              gdouble               : Read / Write

Allowed values: [-1000,1000]

Default value: 0


The "type" property

  "type"                     GimpHandleType        : Read / Write

Default value: GIMP_HANDLE_CROSS


The "width" property

  "width"                    gint                  : Read / Write

Allowed values: [3,1001]

Default value: 7


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