The LEADTOOLS C++ Class Library is a wrapper to the LEADTOOLS C API and provides only a subset of the features and functionality otherwise available in the LEADTOOLS C API. For more information about the full feature set of the LEADTOOLS C API, refer to LEADTOOLS C API Introduction.
Is this page helpful?
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.
Size of this structure.
VECTORPOINT structure that contains the center coordinates of the arc.
Specifies the radius of the arc. This value must be positive.
Specifies the start angle, in degrees, relative to the x-axis.
Specifies the sweep angle, in degrees, relative to the starting angle.
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.