Prev Next

GetArcDirection info  Overview  Group

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
Identifies 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.

See Also

SetArcDirection