[ Version ( since = "2.4" ) ]
public PathStrokeType stroke_get_points (int stroke_id, out double[] controlpoints, out bool closed)
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.
| this |
The path object. |
| stroke_id |
The stroke ID. |
| controlpoints |
List of the control points for the stroke (x0, y0, x1, y1, ...). |
| closed |
Whether the stroke is closed or not. |
| num_points |
The number of floats returned. |
|
type of the stroke (always GIMP_PATH_STROKE_TYPE_BEZIER for now). |