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 on an arc object.

Member

Description

nSize

Size of this structure.

vptCenter

VECTORPOINT structure that contains the center coordinates of the arc.

Radius

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

StartAngle

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

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Container and Automation C API Help