The SetArcDirection sets the drawing direction to be used for arc and rectangle functions.
int SetArcDirection(
HDC hdc, |
// identifies the device context |
int ArcDirection |
// specifies the new arc direction |
); |
Value |
Meaning |
AD_COUNTERCLOCKWISE |
Figures drawn counterclockwise. |
AD_CLOCKWISE |
Figures drawn clockwise. |
If the function succeeds, the return value specifies the old arc direction.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
The default direction is counterclockwise.
The SetArcDirection function specifies the direction in which the following functions draw: