MGL_fillEllipse

Fills an ellipse.

Declaration

void MGLAPI MGL_fillEllipse(
    rect_t extentRect)

Prototype In

mgraph.h

Description

Fills an ellipse given either the center and radii for the ellipse, or the bounding rectangle for the ellipse. The ellipse is filled in the current pen color and style just inside the mathematical boundary of the bounding rectangle for the ellipse.

Note that while this routine can only work with integer semi-major and semi-minor axes, it can sometimes be easier to work with (and is provided for compatibility with other graphics packages). MGL_fillEllipseCoord is a more versatile routine, as it allows ellipses with odd diameter values, which you cannot get with MGL_fillEllipse.

See Also

MGL_ellipse, MGL_ellipseArc, MGL_fillEllipseArc, MGL_fillEllipseCoord

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com