short Escape(hDC, SET_ARC_DIRECTION, sizeof(int),lpDirection, NULL)
This escape specifies the direction in which elliptical arcs are drawn using the GDI Arc function.
By convention, elliptical arcs are drawn counterclockwise by GDI. This escape lets an application draw paths containing arcs drawn clockwise.
Parameter | Type/Description |
hDC | HDC Identifies the device context. | |
lpDirection | LPINT Points to a short integer specifying the arc direction. It can be either of the following values: | |
COUNTERCLOCKWISE (0) | ||
CLOCKWISE (1) |
The return value is the previous arc direction.
This escape maps to PostScript language elements and is intended for PostScript line devices.