arc_coords_t

Declaration

typedef struct {
    int     x,y;
    int     startX,startY;
    int     endX,endY;
    } arc_coords_t

Prototype In

mgraph.h

Description

Structure used to return elliptical arc starting and ending coordinates. This structure is used to obtain the exact center, starting and ending coordinates after an elliptical arc has been rasterized, so that you can properly turn the arc into a pie slice for example.

Members

x

x coordinate of the center of the elliptical arc

y

y coordinate of the center of the elliptical arc

startX

x coordinate of the starting pixel on the elliptical arc

startY

y coordinate of the starting pixel on the elliptical arc

endX

x coordinate of the ending pixel on the elliptical arc

endY

y coordinate of the ending pixel on the elliptical arc

 

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