GetMiterLimit function (wingdi.h)

The GetMiterLimit function retrieves the miter limit for the specified device context.

Syntax

BOOL GetMiterLimit(
  [in]  HDC    hdc,
  [out] PFLOAT plimit
);

Parameters

[in] hdc

Handle to the device context.

[out] plimit

Pointer to a floating-point value that receives the current miter limit.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

Remarks

The miter limit is used when drawing geometric lines that have miter joins.

Requirements

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

See also

ExtCreatePen

Path Functions

Paths Overview

SetMiterLimit