The SetMiterLimit function sets the limit for the length of miter joins for the specified device context.
BOOL SetMiterLimit(
HDC hdc, // handle to device context
FLOAT eNewLimit, // new miter limit
PFLOAT peOldLimit // previous miter limit
);
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Windows NT: To get extended error information, call GetLastError.
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.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in wingdi.h.
Import Library: Use gdi32.lib.
Paths Overview, Path Functions, ExtCreatePen, GetMiterLimit