GetArcDirection

  int GetArcDirection(hdc);    
  HDC hdc; /* handle of device context */

The GetArcDirection function returns the current arc direction for the specified device context. The arc direction is used by arc and rectangle functions.

Parameters

hdc

Identifies the device context.

Return Value

The return value specifies the current arc direction if the function is successful. The following list describes the valid return values:

Value Meaning

AD_COUNTERCLOCKWISE Arcs and rectangles will be drawn counterclockwise.
AD_CLOCKWISE Arcs and rectangles will be drawn clockwise.

The return value is zero if an error occurs.

See Also

SetArcDirection