CanvasPathCommandType
Description:
[ CCode ( cprefix = "GOO_CANVAS_PATH_" , type_id = "goo_canvas_path_command_type_get_type ()" ) ]
public enum CanvasPathCommandType
GooCanvasPathCommandType specifies the type of each command in the path.
See the path element in the <ulink url="http://www.w3.org/Graphics/SVG/"> Scalable Vector Graphics (SVG) specification</ulink
> for more details.
Content:
Enum values:
- CLOSE_PATH - close the current
path, drawing a line from the current position to the start of the path.
- CURVE_TO - draw a bezier curve
using two control points to the given point.
- ELLIPTICAL_ARC - draw an
elliptical arc, using the given 2 radii, the x axis rotation, and the 2 flags to disambiguate the arc, to the given point.
- HORIZONTAL_LINE_TO -
draw a horizontal line to the given x coordinate.
- LINE_TO - draw a line to the
given point.
- MOVE_TO - move to the given
point.
- QUADRATIC_CURVE_TO -
draw a quadratic bezier curve using a single control point to the given point.
- SMOOTH_CURVE_TO - draw a
bezier curve using a reflection of the last control point of the last curve as the first control point, and one new control point, to
the given point.
- SMOOTH_QUADRATIC_CURVE_TO -
draw a quadratic bezier curve using a reflection of the control point from the previous curve as the
control point, to the given point.
- VERTICAL_LINE_TO - draw
a vertical line to the given y coordinate.