Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SET_ARC_DIRECTION
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#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.
 
Parameter    Description
────────────────────────────────────────────────────────────────────────────
 
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).
 
Return Value
 
The return value is the previous arc direction.
 
Comments
 
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.
 
See Also
 
BEGIN_PATH, END_PATH, PDEVICE
 
 
                                      ♦