C
WORD Arc( SHORT xL, SHORT yT, SHORT xR, SHORT yB, SHORT r1, SHORT r2, BYTE octant );
Overview
Draws the octant arc of the beveled figure with the given centers, radii and octant mask. When octant = 0xFF and the following are true:
- xL = xR, yT = yB , r1 = 0 and r2 = z, a filled circle is drawn with a radius of z.
- radii have values (where r1 < r2), a full ring with thickness of (r2-r1) is drawn.
- xL != xR, yT != yB , r1 = 0 and r2 = 0 (where xR > xL and yB > yT) a rectangle is drawn. xL, yT specifies the left top corner and xR, yB specifies the right bottom corner.
Description
Input Parameters
Input Parameters |
Description |
SHORT xL |
x location of the upper left center in the x,y coordinate. |
SHORT yT |
y location of the upper left center in the x,y coordinate. |
SHORT xR |
x location of the lower right center in the x,y coordinate. |
SHORT yB |
y location of the lower right center in the x,y coordinate. |
SHORT r1 |
The smaller radius of the two concentric cicles that defines the thickness of the object. |
SHORT r2 |
The larger of radius the two concentric circles that defines the thickness of the object. |
BYTE octant |
Bitmask of the octant that will be drawn. Moving in a clockwise direction from x = 0, y = +radius
|
Returns
Returns the rendering status. 1 - If the rendering was completed and 0 - If the rendering is not yet finished.
Preconditions
none
Side Effects
none