Add a ellipse to areainfo list for areafill.
Source position: agraphics.pas line 2265
function AreaEllipse( |
rp: pRastPort; |
xCenter: LongInt; |
yCenter: LongInt; |
a: LongInt; |
b: LongInt |
):LongInt; |
rp |
|
A pointer to a RastPort structure |
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) |
0 for success, or -1 if there is no space left in the vector list
Add an ellipse to the vector buffer. It will be draw when AreaEnd() is called.
|
Initialize vector collection matrix |
|
|
Define a new starting point for a new shape in the vector list. |
|
|
Add a point to a list of end points for areafill. |
|
|
Draws a Circle in an Area |
|
|
Process table of vectors and ellipses and produce areafill. |