GimpCanvasLine

GimpCanvasLine

Synopsis

struct              GimpCanvasLine;
struct              GimpCanvasLineClass;
GimpCanvasItem *    gimp_canvas_line_new                (GimpDisplayShell *shell,
                                                         gdouble x1,
                                                         gdouble y1,
                                                         gdouble x2,
                                                         gdouble y2);
void                gimp_canvas_line_set                (GimpCanvasItem *line,
                                                         gdouble x1,
                                                         gdouble y1,
                                                         gdouble x2,
                                                         gdouble y2);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpCanvasItem
               +----GimpCanvasLine

Properties

  "x1"                       gdouble               : Read / Write
  "x2"                       gdouble               : Read / Write
  "y1"                       gdouble               : Read / Write
  "y2"                       gdouble               : Read / Write

Description

Details

struct GimpCanvasLine

struct GimpCanvasLine;


struct GimpCanvasLineClass

struct GimpCanvasLineClass {
  GimpCanvasItemClass  parent_class;
};


gimp_canvas_line_new ()

GimpCanvasItem *    gimp_canvas_line_new                (GimpDisplayShell *shell,
                                                         gdouble x1,
                                                         gdouble y1,
                                                         gdouble x2,
                                                         gdouble y2);


gimp_canvas_line_set ()

void                gimp_canvas_line_set                (GimpCanvasItem *line,
                                                         gdouble x1,
                                                         gdouble y1,
                                                         gdouble x2,
                                                         gdouble y2);

Property Details

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