GetMiterLimit function

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

Syntax


BOOL GetMiterLimit(
  _In_  HDC    hdc,
  _Out_ PFLOAT peLimit
);

Parameters

hdc [in]

Handle to the device context.

peLimit [out]

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

Library

Gdi32.lib

DLL

Gdi32.dll

See also

Paths Overview
Path Functions
ExtCreatePen
SetMiterLimit

 

 

Show: