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.
Member | Description | |
Object | Abstract object. | |
Point |
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 |
|
nPointCount | Number of points in the points | |
Pen | VECTORPEN structure that contains information about the pen to use when drawing the vector spline object | |
dwFlags | 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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET