CONTAINERARCDATA

typedef struct _CONTAINERARCDATA 
{ 
   L_INT nSize ; 
   VECTORPOINT vptCenter ; 
   L_DOUBLE Radius ; 
   L_DOUBLE StartAngle ; 
   L_DOUBLE SweepAngle ; 
    
} CONTAINERARCDATA, *pCONTAINERARCDATA ; 

The CONTAINERARCDATA structure holds the information about an arc object.

Members

L_INT nSize

Size of this structure.

VECTORPOINT vptCenter

VECTORPOINT structure that contains the center coordinates of the arc.

L_DOUBLE Radius

Specifies the radius of the arc. This value must be positive.

L_DOUBLE StartAngle

Specifies the start angle, in degrees, relative to the x-axis.

L_DOUBLE SweepAngle

Specifies the sweep angle, in degrees, relative to the starting angle.

Comments

Constructing an imaginary circle around the specified center point with the specified radius draws the arc. The starting point of the arc is determined by measuring counterclockwise from the x-axis of the circle by the number of degrees in the start angle. The ending point is similarly located by measuring counterclockwise from the starting point by the number of degrees in the sweep angle. Below is a graphical representation.

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

LEADTOOLS Container and Automation C API Help