CONTAINERARCDATA

Summary

The CONTAINERARCDATA structure holds the information on an arc object.

Syntax

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

Members

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Container and Automation C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.