CDC::SetMiterLimit
TOC
Collapse the table of content
Expand the table of content

CDC::SetMiterLimit

 

Sets the limit for the length of miter joins for the device context.


      BOOL SetMiterLimit(
   float fMiterLimit 
);

fMiterLimit

Specifies the new miter limit for the device context.

Nonzero if the function is successful; otherwise 0.

The miter length is defined as the distance from the intersection of the line walls on the inside of the join to the intersection of the line walls on the outside of the join. The miter limit is the maximum allowed ratio of the miter length to the line width. The default miter limit is 10.0.

Requirements

Header: afxwin.h

Show:
© 2016 Microsoft