arc

fnvoid arc(int x, int y, int w, int h, double a1, double a2) nothrow @nogc

Draws an arc (part of an ellipse outline).

The arc is drawn within the bounding box from angle a1 to a2. Angles are in degrees, with 0 at 3 o'clock, increasing counter-clockwise.

Parameters

xX of bounding box
yY of bounding box
wWidth of bounding box
hHeight of bounding box
a1Start angle in degrees
a2End angle in degrees Example:
arc(10, 10, 80, 80, 0, 90);  // Quarter circle arc