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

Concepts

CDC Class

CDC Members

Hierarchy Chart

CDC::SetArcDirection

GetArcDirection