Draw an ellipse centered at cx,cy with vertical and horizontal radii of a,b respectively
Source position: agraphics.pas line 2323
procedure DrawEllipse( |
Rp: PRastPort; |
XCenter: LongInt; |
YCenter: LongInt; |
A: LongInt; |
B: LongInt |
); |
Rp |
|
A pointer to the RastPort into which the ellipse will be drawn. |
XCenter |
|
X coordinate of the centerpoint relative to the rastport. |
YCenter |
|
Y coordinate of the centerpoint relative to the rastport. |
A |
|
The horizontal radius of the ellipse (note: a must be > 0) |
B |
|
The vertical radius of the ellipse (note: b must be > 0) |
Creates an elliptical outline within the rectangular region specified by the parameters, using the current foreground pen color. this routine does not clip the ellipse to a non-layered rastport.
|
Draws a Circle |