GetMiterLimit  F4D9X 

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

BOOL GetMiterLimit(

    HDC hdc,

// handle of device context

    PFLOAT peLimit

// address of variable receiving miter limit 

   );

 

 

Parameters

hdc

Identifies the device context.

peLimit

Points to a floating-point value where the current miter limit will be returned.

 

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError11C2VS7.

Remarks

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

See Also

ExtCreatePen, SetMiterLimit