Function:
Arc(hdc, nLeftRect, nTopRect, nRightRect, nBottomRect,
nXStartArc, nYStartArc, nXEndArc, nYEndArc)
|
Description:
Draws an elliptical arc on a device. The arc is drawn in
the device's current drawing colour and is filled using its current filling
colour and brush, if any.
|
Parameters:
nLeftRect: Specifies the x-coordinate of the upper-left
corner of the bounding rectangle.
nTopRect: Specifies the y-coordinate of the upper-left corner of the bounding
rectangle
nRightRect: Specifies the x-coordinate of the lower-right corner of the
bounding rectangle
nBottomRect: Specifies the y-coordinate of the lower-right corner of the
bounding rectangle.
nXStartArc: Specifies the x-coordinate of the ending point of the radial
line defining the starting point of the arc.
nYStartArc: Specifies the logical y-coordinate of the ending point of
the radial line defining the starting point of the arc.
nXEndArc: Specifies the logical x-coordinate of the ending point of the
radial line defining the ending point of the arc.
nYEndArc: Specifies the logical y-coordinate of the ending point of the
radial line defining the ending point of the arc.
|
Returns:
If successful, the function returns 1. 0 if an error occured.
|
Example: 
Click on the calc icon to view a sample of the Arc function.
|