| Home
| Previous
| Next
| Up

MGL_rgnEllipseArc

Generate an elliptical arc outline as a region.

Declaration

region_t * MGLAPI MGL_rgnEllipseArc(
rect_t extentRect,
int startAngle,
int endAngle,
const region_t *pen)

Prototype In

mgraph.h

Parameters

extentRect | Bounding rectangle for the ellipse
startAngle | Starting angle for the elliptical arc
endAngle | Ending angle for the elliptical arc
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 elliptical arc 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

MGL_rgnEllipse, MGL_rgnGetArcCoords

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