Synopsis
Draw an arc.
Format
void MgraArc(GraphContId, DestImageBufId, XCenter, YCenter, XRad, YRad, StartAngle, EndAngle)
MIL_ID GraphContId; | Graphics context identifier |
MIL_ID DestImageBufId; | Destination image buffer identifier |
long XCenter; | X-coordinate of arc center |
long YCenter; | Y-coordinate of arc center |
long XRad; | Horizontal radius of elliptic arc |
long YRad; | Vertical radius of elliptic arc |
double StartAngle; | Starting angle relative to the positive X-axis |
double EndAngle; | Ending angle relative to the positive X-axis |
Description
This function draws an elliptic arc based on an ellipse centered at (XCenter, YCenter) with radii XRad and YRad. The arc is defined by the start angle StartAngle and the end angle EndAngle. The arc is drawn with the foreground color specified in the graphics context.
The GraphContId parameter specifies the identifier of the graphics context. This parameter can be set to M_DEFAULT, in which case the default graphics context of the current MIL application is used.
The DestImageBufId parameter specifies the identifier of the image buffer in which to draw.
The XCenter and YCenter parameters specify the X and Y coordinates of the arc center relative to the top-left corner of the specified target buffer.
The XRad and YRad parameter specify the elliptic arc radii. The radii should be given in pixels.
The StartAngle and EndAngle specify the angles at which to start and end drawing the arc, respectively, moving in a counter-clockwise direction. Express angles in degrees in relation to the positive X-axis.
If part of the arc falls outside of the specified target buffer, that part is clipped off.
See also
Many thanks, Quite a lot of info!
fluconazole tablets
Nicely put, Regards! canadian online pharmacies
Thank you, Excellent information. how to use viagra
Amazing tons of valuable data! cialis 20 mg
Wonderful write ups. Thanks a lot! viagra without a doctors prescription
Amazing material. Many thanks. Dom Citalopram
You have made your stand extremely nicely.! celexa medication
With thanks, Loads of write ups!
side effects for modafinil
Thanks, I value it. modafinil for sale
Regards. I value it! Cialis 5 Mg Treatment
Perfectly voiced of course! ! canadian pharmacy online
You made your stand extremely clearly.. Difference Entre Kamagra Et Viagra
You mentioned that wonderfully. metformin
Cheers, Awesome information! ed meds online without doctor prescription
Thanks a lot! Plenty of data!
cbd oil reviews 2017
Incredible loads of wonderful info. cbd oil for pain
You definitely made your point. Tadalafil 20mg Buy
With thanks. Quite a lot of info.
buy viagra without doctor prescription
Cheers, I value it. tretinoin cream 0 05