| 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 (x, y), 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_NORMAL | Draw a elipse
A_REVERSE | Erase a ellipse
A_XOR | XORs 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