VECTORSPLINE

Summary

The VECTORSPLINE structure holds information about the spline object.

Syntax

typedef  struct  _VECTORPOLYBEZIERSPLINE 
{ 
   VECTOROBJECT  Object; 
   VECTORPOINT  *Point; 
   L_INT  nPointCount; 
   VECTORPEN  Pen; 
   L_UINT32  dwFlags; 
}  VECTORSPLINE,  *pVECTORSPLINE; 

Members

VECTOROBJECT Object

Abstract object.

VECTORPOINT *Point

Pointer to an array of points which controls the splines path depending 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 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.