MGL_fillEllipseArcCoord

Fills an elliptical arc.

Declaration

void MGLAPI MGL_fillEllipseArcCoord(
    int x,
    int y,
    int xradius,
    int yradius,
    int startAngle,
    int endAngle)

Prototype In

mgraph.h

Parameters

x

x coordinate for center of arc

y

y coordinate for center of arc

xradius

x radius for the arc

yradius

y radius for the arc

startAngle

Starting angle for arc (in degrees)

endAngle

Ending angle for arc (in degrees)

 

Description

Fills an elliptical arc given the center and radii for the ellipse. StartAngle specifies where the arc begins and is treated MOD 360. EndAngle specifies where the arc ends and is also treated MOD 360. The angles are given in positive or negative degrees. Zero degrees is at 3 o'clock, 90 is at 12 o'clock high, 180 is at 9 o'clock and 270 is at 6 o'clock. Other angles are measured relative to the enclosing rectangle. Thus an angle of 45 degrees always defines a line from the center of the rectangle through it's top right corner, even if the rectangle isn't square.

See Also

MGL_fillEllipseArc, MGL_ellipseArc, MGL_ellipse, MGL_fillEllipse

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