|
|
|
|
MGL_rgnEllipse
Generate an ellipse outline as a region.
Declaration
region_t * MGLAPI MGL_rgnEllipse(
rect_t extentRect,
const region_t *pen)
Prototype In
mgraph.h
Parameters
extentRect |
Bounding rectangle for the ellipse |
pen |
Region to use as the _pen when drawing the ellipse |
Return Value
New region generated, NULL if out of memory.
Description
This function generates the outline of an ellipse as a complex region by dragging the specified _pen region around the perimeter of the ellipse. The _pen used can be any arbitrary shape, however rectangular _pens are special cased to provide fast region generation.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com