GfxPie
|
Low-level graphics |
SYNTAX | GfxPie( x1, y1, x2, y2, x3, y3, x4, y4 ) |
RETURNS | NOTHING |
FUNCTION | Draws a pie-shaped wedge by drawing an elliptical arc whose center and two endpoints are joined by lines. The center of the arc is the center of the bounding rectangle specified by x1, y1, x2, and y2. The starting and ending points of the arc are specified by x3, y3, x4, and y4.
The arc is drawn with the selected pen, moving in a counterclockwise direction. Two additional lines are drawn from each endpoint to the arc's center. The pie-shaped area is filled with the current brush. If x3 equals x4 and y3 equals y4, the result is an ellipse with a single line from the center of the ellipse to the point (x3, y3) or (x4, y4). Parameters
NOTE: This is LOW-LEVEL graphic function. To learn more about low-level graphic functions please read TUTORIAL: Using low-level graphics. |
EXAMPLE | GfxSelectPen( colorRed ); |
SEE ALSO | GfxSelectPen() function , GfxSelectSolidBrush() function |
The GfxPie function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.