SET_ARC_DIRECTION

short Escape(hdc, SET_ARC_DIRECTION, sizeof(int),lpDirection, NULL)

The SET_ARC_DIRECTION printer escape specifies the direction in which elliptical arcs are drawn using the graphics device interface (GDI) Arc function.

By convention, elliptical arcs are drawn counterclockwise by GDI. This escape lets an application draw paths containing arcs drawn clockwise.

Parameters

hdc

HDC Identifies the device context.

lpDirection

LPINT Points to a short integer specifying the arc direction. It can be one of the following values:

COUNTERCLOCKWISE (0) CLOCKWISE (1)

Return Value

The return value is the previous arc direction.

Comments

This escape maps to PostScript language elements and is intended for PostScript line devices.