[ CCode ( array_length_pos = 2.5 , array_length_type = "gsize" ) ]
[ Version ( since = "2.4" ) ]
public double[] stroke_interpolate (int stroke_id, double precision, out bool closed)
returns polygonal approximation of the stroke.
returns polygonal approximation of the stroke.
| this |
The path object. |
| stroke_id |
The stroke ID. |
| precision |
The precision used for the approximation. |
| closed |
Whether the stroke is closed or not. |
| num_coords |
The number of floats returned. |
|
List of the coords along the path (x0, y0, x1, y1, ...). The returned value must be freed with g_free. |