Supported Browsers Home   
MGL_rgnEllipseArc Previous   
MGL_rgnLine Next   
External Functions Up   

MGL_rgnGetArcCoords

Returns the real arc coordinates for an elliptical arc region.

Declaration

void MGLAPI MGL_rgnGetArcCoords(
    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 defines the last elliptical arc region that was generated. 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_rgnEllipseArc routine.

See Also

MGL_rgnEllipseArc

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