DrawClipEllipse Function (ROM Call 0x192)

graph.h

void DrawClipEllipse (short x, short y, short a, short b, const SCR_RECT *clip, short Attr);

Draws a clipped ellipse.

DrawClipEllipse draws an ellipse with centre at (xy), and with semiaxes a and b. The ellipse will be clipped at the boundaries of the area given by parameter clip. See SetCurClip for more info about clipping areas. The interior of the ellipse remains intact (no fill). The ellipse will be drawn using the attribute Attr. Supported attributes are:

A_NORMALDraw a elipse
A_REVERSEErase a ellipse
A_XORXORs a ellipse into the destination

See SetCurAttr for more general information about attributes.

Note: Set a== b to draw a circle.


Uses: DrawClipLine, DrawPix
Used by: WinEllipse