VECTORSPLINE

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.

Members

VECTOROBJECT Object

Abstract object.

VECTORPOINT *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 

L_INT nPointCount

Number of points in the points

VECTORPEN Pen

VECTORPEN structure that contains information about the pen to use when drawing the vector spline object

L_UINT32 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.

Comments

The spline can be drawn in two modes:

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C API Help