Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CDC::SetArcDirection
Collapse the table of content
Expand the table of content

CDC::SetArcDirection

Sets the drawing direction to be used for arc and rectangle functions.

int SetArcDirection( 
   int nArcDirection  
);

nArcDirection

Specifies the new arc direction. This parameter can be either of the following values:

  • AD_COUNTERCLOCKWISE   Figures drawn counterclockwise.

  • AD_CLOCKWISE   Figures drawn clockwise.

Specifies the old arc direction, if successful; otherwise 0.

The default direction is counterclockwise. The SetArcDirection function specifies the direction in which the following functions draw:

Arc

Pie

ArcTo

Rectangle

Chord

RoundRect

Ellipse

 

Header: afxwin.h

Show:
© 2015 Microsoft