![]() | ![]() | ![]() | GNOME Canvas Library Reference Manual | ![]() |
---|
GnomeCanvasLine — Line canvas item
#include <libgnomecanvas/libgnomecanvas.h> struct GnomeCanvasLine;
"arrow-shape-a" gdouble : Read / Write "arrow-shape-b" gdouble : Read / Write "arrow-shape-c" gdouble : Read / Write "cap-style" GdkCapStyle : Read / Write "fill-color" gchararray : Read / Write "fill-color-gdk" GdkColor : Read / Write "fill-color-rgba" guint : Read / Write "fill-stipple" GdkDrawable : Read / Write "first-arrowhead" gboolean : Read / Write "join-style" GdkJoinStyle : Read / Write "last-arrowhead" gboolean : Read / Write "line-style" GdkLineStyle : Read / Write "points" GnomeCanvasPoints : Read / Write "smooth" gboolean : Read / Write "spline-steps" guint : Read / Write "width-pixels" guint : Read / Write "width-units" gdouble : Read / Write
A canvas item for drawing lines. This canvas item uses a GnomeCanvasPoints structure so one or multiple joined lined segments can be drawn with a single GnomeCanvasLine item.
"arrow-shape-a" (gdouble : Read / Write) | Distance from tip of arrowhead to center. |
"arrow-shape-b" (gdouble : Read / Write) | Distance from tip of arrowhead to trailing point, measured along shaft. |
"arrow-shape-c" (gdouble : Read / Write) | Distance of arrowhead trailing points from outside edge of shaft. |
"cap-style" (GdkCapStyle : Read / Write) | Determines how the ends of lines are drawn (the line cap style). |
"fill-color" (gchararray : Read / Write) | X color specification for line. |
"fill-color-gdk" (GdkColor : Read / Write) | Pointer to an allocated GdkColor to draw the line with. |
"fill-color-rgba" (guint : Read / Write) | Line color with an alpha component (in the format 0xRRGGBBAA). |
"fill-stipple" (GdkDrawable : Read / Write) | Stipple pattern for the line. |
"first-arrowhead" (gboolean : Read / Write) | Specifies whether to draw an arrowhead on the first point of the line. |
"join-style" (GdkJoinStyle : Read / Write) | Vertex join style for line segments (GDK_JOIN_MITER to join by extending each line to meet at an angle, GDK_JOIN_ROUND to join by a circular arc, and GDK_JOIN_BEVEL to join by a straight line which makes an equal angle with each line). |
"last-arrowhead" (gboolean : Read / Write) | Specifies whether to draw an arrowhead on the last point of the line. |
"line-style" (GdkLineStyle : Read / Write) | Line dash style. |
"points" (GnomeCanvasPoints : Read / Write) | Pointer to a GnomeCanvasPoints structure. This can be created by a call to gnome_canvas_points_new(). |
"smooth" (gboolean : Read / Write) | Specifies whether to smooth the line using parabolic splines. |
"spline-steps" (guint : Read / Write) | Specifies the number of steps to use when rendering curves. |
"width-pixels" (guint : Read / Write) | Width of the line in pixels. The line width will not be scaled when the canvas zoom factor changes. |
"width-units" (gdouble : Read / Write) | Width of the line in canvas units. The line width will be scaled when the canvas zoom factor changes. |
<< GnomeCanvasItem | GnomeCanvasPixbuf >> |