2006
Simon Budig
returns the control points of a stroke.
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.
unknown
Type | Name | Description |
---|---|---|
unknown | vectors | The vectors object |
PF_INT | stroke-id | The stroke ID |
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) |