GetMiterLimit function (wingdi.h)
The GetMiterLimit function retrieves the miter limit for the specified device context.
C++
BOOL GetMiterLimit(
[in] HDC hdc,
[out] PFLOAT plimit
);
[in] hdc
Handle to the device context.
[out] plimit
Pointer to a floating-point value that receives the current miter limit.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
The miter limit is used when drawing geometric lines that have miter joins.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | wingdi.h (include Windows.h) |
Library | Gdi32.lib |
DLL | Gdi32.dll |