Freigeben über


CDC::SetMiterLimit

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

BOOL SetMiterLimit(
   float fMiterLimit 
);

Parameters

  • fMiterLimit
    Specifies the new miter limit for the device context.

Return Value

Nonzero if the function is successful; otherwise 0.

Remarks

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

See Also

Concepts

CDC Class

CDC Members

Hierarchy Chart

CDC::GetMiterLimit

SetMiterLimit