2005
Simon Budig
Get point at a specified distance along the stroke.
This will return the x,y position of a point at a given distance along the stroke. The distance will be obtained by first digitizing the curve internally and then walking along the curve. For a closed stroke the start of the path is the first point on the path that was created. This might not be obvious. If the stroke is not long enough, a "valid" flag will be FALSE.
unknown
Type | Name | Description |
---|---|---|
unknown | vectors | The vectors object |
PF_INT | stroke-id | The stroke ID |
PF_FLOAT | dist | The given distance. |
PF_FLOAT | precision | The precision used for the approximation |
Type | Name | Description |
---|---|---|
PF_FLOAT | x-point | The x position of the point. |
PF_FLOAT | y-point | The y position of the point. |
PF_FLOAT | slope | The slope (dy / dx) at the specified point. |
PF_INT | valid | Indicator for the validity of the returned data. (TRUE or FALSE) |