typedef struct _VECTORPOLYBEZIERSPLINE
{
VECTOROBJECT Object;
VECTORPOINT *Point;
L_INT nPointCount;
VECTORPEN Pen;
L_UINT32 dwFlags;
} VECTORSPLINE, *pVECTORSPLINE;
The VECTORSPLINE structure holds information about the spline object.
Abstract object.
Pointer to an array of points which controls the splines path depnding on the spline type. The number of points should be:
( puDegree[ 0 ] + puDegree[ 1 ] + + puDegree[ nSecCount 1 ] ) + 1
Number of points in the points
VECTORPEN structure that contains information about the pen to use when drawing the vector spline object
Flag that indicates the mode in which to draw the spline. Possible values are:
Value | Meaning |
---|---|
VECTOR_SPLINE_FITPOINTS | Sets the spline mode to Fit Points. This is the default. |
VECTOR_SPLINE_CONTROLPOINTS | Sets the spline mode to Control Points. |
The spline can be drawn in two modes:
Fit Points: The spline path MUST pass through each and every point specified.
Control Points: The points are used to control the spline path, but not necessarily pass through all of them.