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.

Требования

Header: afxwin.h

См. также

Основные понятия

CDC Class

CDC Members

Hierarchy Chart

CDC::GetMiterLimit

SetMiterLimit