GetMiterLimit

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

The GetMiterLimit function returns the miter limit for the specified device context. The miter limit is used when drawing geometric lines that have miter joins.

Parameters

hdc

Identifies the device context.

peLimit

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

Return Value

The return value is TRUE if the function was successful, or FALSE if an error occurred. To obtain extended error information, use the GetLastError function.

See Also

SetMiterLimit, ExtCreatePen