Supported Browsers Home   
MGL_getAlphaValue Previous   
MGL_getAspectRatio Next   
External Functions Up   

MGL_getArcCoords

Returns the starting and ending arc coordinates.

Declaration

void MGLAPI MGL_getArcCoords(
    arc_coords_t *coords)

Prototype In

mgraph.h

Parameters

coords

Pointer to structure to store coordinates

 

Description

This function returns the center coordinate, and starting and ending points on the ellipse that define the last elliptical arc that was rasterized. You can then use these coordinates to draw a line from the center of the ellipse to the starting and ending points to complete the outline of an elliptical wedge.

Note that you must call this routine immediately after calling the MGL_ellipseArc family of routines.

See Also

MGL_ellipseArc, MGL_fillEllipseArc

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