Partager via


CDC::GetArcDirection

Returns the current arc direction for the device context.

int GetArcDirection( ) const;

Return Value

Specifies the current arc direction, if successful. Following are the valid return values:

  • AD_COUNTERCLOCKWISE   Arcs and rectangles drawn counterclockwise.

  • AD_CLOCKWISE   Arcs and rectangles drawn clockwise.

If an error occurs, the return value is zero.

Remarks

Arc and rectangle functions use the arc direction.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::SetArcDirection

GetArcDirection