#define SET_ARC_DIRECTION 4102 |
short Control(lpDevice, SET_ARC_DIRECTION, lpDirection, NULL) | |||
LPPDEVICE lpDevice; | |||
LPINT lpDirection; |
The SET_ARC_DIRECTION escape specifies the direction in which elliptical arcs are drawn using the Arc (GDI.23) function.
By convention, elliptical arcs are drawn counterclockwise by GDI. This escape enables an application to draw paths containing arcs drawn clockwise.
lpDevice
Points to a PDEVICE structure specifying the destination device.
lpDirection
Points to a 16-bit variable specifying the arc direction. It may be either COUNTERCLOCKWISE(0) or CLOCKWISE(1).
The return value is the previous arc direction.
The default arc direction is COUNTERCLOCKWISE.
Device drivers that implement the BEGIN_PATH and END_PATH escapes should also implement this escape.
This escape maps to the PostScript page-description language elements and is intended for PostScript line devices.