To who it May Consern I'm still using the ancient grx20 library, but if you could tell me how to use this function that is the subject, i would apreciate it a lot. So far, i've figured out that i really don't know how to use it. RSVP. RB ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Ryan Bulger schrieb:
To who it May Consern I'm still using the ancient grx20 library, but if you could tell me how to use this function that is the subject, i would apreciate it a lot. So far, i've figured out that i really don't know how to use it. RSVP. RB
an Arc is a part of a Circle :-)
#define GR_MAX_ANGLE_VALUE (3600) //360 degrees (full circle) times 10 #define GR_ARC_STYLE_OPEN 0 //paint a filled segment #define GR_ARC_STYLE_CLOSE1 1 //paint a filled ??????? #define GR_ARC_STYLE_CLOSE2 2 //paint a filled sector
void GrFilledCircleArc(int xc, // circle center x-coordinate int yc, // circle center y-coordinate int r, // circle radius int start, // arc start angle in tenths of a degree int end, // arc end angle in tenths of a degree int style, // arc syle GrColor c // arc fill color );
see also %DJDIR%/contrib/GRX/test/arctest.c