The GetArcDirection function returns the current arc direction for the specified device context. Arc and rectangle functions use the arc direction.
int GetArcDirection(
HDC hdc // handle to device context
);
The return value specifies the current arc direction; it can be any one of the following values:
Value | Meaning |
---|---|
AD_COUNTERCLOCKWISE | Arcs and rectangles are drawn counterclockwise. |
AD_CLOCKWISE | Arcs and rectangles are drawn clockwise. |
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in wingdi.h.
Import Library: Use gdi32.lib.
Lines and Curves Overview, Line and Curve Functions, SetArcDirection