pie

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

Draws a filled pie slice.

Similar to arc() but fills the region.

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:
color(255, 0, 0);
pie(10, 10, 80, 80, 0, 90);  // Red quarter pie