(C) 1998 AROS - The Amiga Research OS
NAME
#include <proto/graphics.h>
ULONG AreaEllipse (rp , cx , cy , a , b )
LOCATION
In GfxBase at offset 31
SYNOPSIS
struct RastPort * rp
WORD cx
WORD cy
WORD a
WORD b
FUNCTION
Add an ellipse to the vector buffer. An ellipse takes up two entries in the buffer.
INPUTS
rp
pointer to a valid RastPort structure with a pointer to the previously initilized AreaInfo structure.
cx
x coordinate of the centerpoint relative to rastport
cy
y coordinate of the centerpoint relative to rastport
a
horizontal radius of the ellipse (> 0)
b
vertical radius of the ellipse (> 0)
RESULT
error - 0 for success -1 if the vector collection matrix is full
EXAMPLE
SEE ALSO
InitArea() AreaMove() AreaDraw() AreaCircle() graphics/rastport.h
NOTES
BUGS
INTERNALS
HISTORY
01.04.1999 bergers
Bugfix.
20.10.1998 hkiel
Amiga Research OS
31.01.1998 bergers
New functions.