GetArcDirection function (wingdi.h)

The GetArcDirection function retrieves the current arc direction for the specified device context. Arc and rectangle functions use the arc direction.

Syntax

int GetArcDirection(
  [in] HDC hdc
);

Parameters

[in] hdc

Handle to the device context.

Return value

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.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header wingdi.h (include Windows.h)
Library Gdi32.lib
DLL Gdi32.dll

See also

Line and Curve Functions

Lines and Curves Overview

SetArcDirection