Share via


IXRShape::GetStrokeMiterLimit (Windows Embedded CE 6.0)

1/6/2010

This method retrieves a limit on the ratio of the miter length to half the width of the stroke in a shape object.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetStrokeMiterLimit(
    float *pStrokeMiterLimit
) = 0;

Parameters

  • pStrokeMiterLimit
    [out] Pointer to a float value that indicates the limit on the ratio the miter length to half the width of the stroke in a shape object.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

A miter forms a corner by beveling the ends of two connected lines. When two line segments meet at a small, sharp angle, the miter can extend beyond the thickness of the line that strokes the path.

The width of a stroke is measured by the value retrieved by IXRShape::GetStrokeThickness.

Generally, you should use integral numeric values for this setting. Non-integral values can cause sub-pixel rendering, and might alter the apparent color of the stroke.

.NET Framework Equivalent

System.Windows.Shapes.Shape.StrokeMiterLimit

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRShape
IXRShape::SetStrokeMiterLimit