GetArcDirection

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
);
 

Parameters

hdc
Handle to the device context.

Return Values

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.

QuickInfo

  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.

See Also

Lines and Curves Overview, Line and Curve Functions, SetArcDirection