#include <windows.h>
BOOL32 Pie
(
HDC32 hdc,
INT32 left,
INT32 top,
INT32 right,
INT32 bottom,
INT32 xstart,
INT32 ystart,
INT32 xend,
INT32 yend
);
| U16 array no | Value | 0 | yend, y of endpoint |
| 1 | xend, x of endpoint |
| 2 | ystart, y of endpoint |
| 3 | xstart, x of endpoint |
| 4 | bottom, bottom of bounding box |
| 5 | right, right of bounding box |
| 6 | top, top of bounding box |
| 7 | left, left of bounding box |
This is quite different from how X, and other drawing lib's define an Arc, and its somewhat awkward to convert from it to X's mechanism, see the X bindings for libwmf for into on that.