CDC::SetArcDirection
TOC
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

 

Requirements

Header: afxwin.h

Show:
© 2016 Microsoft