gimp-vectors-stroke-get-points

Simon Budig

Description

returns the control points of a stroke.

Help

returns the control points of a stroke. The interpretation of the coordinates returned depends on the type of the stroke. For Gimp 2.4 this is always a bezier stroke, where the coordinates are the control points.


Type

unknown

Parameters

Type Name Description
unknown vectors The vectors object
PF_INT stroke-id The stroke ID

Return

Type Name Description
PF_INT type type of the stroke (always GIMP_VECTORS_STROKE_TYPE_BEZIER for now). { VECTORS-STROKE-TYPE-BEZIER (0) }
PF_INT num-points The number of floats returned. (num-points >= 0)
unknown controlpoints List of the control points for the stroke (x0, y0, x1, y1, ...).
PF_INT closed Whether the stroke is closed or not. (TRUE or FALSE)