Add a ellipse to areainfo list for areafill.
Source position: agraphics.pas line 2324
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. |