Share via


IXRPolyBezierSegment::SetPoints (Compact 2013)

3/28/2014

This method sets the IXRPointCollection that defines an IXRPolyBezierSegment object.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetPoints(
    __in IXRPointCollection *pPoints
) = 0;

Parameters

  • pPoints
    [in] Points to an IXRPointCollection that defines the Bézier curves in a segment.

Return Values

Returns a standard HRESULT value.

Remarks

You must have a multiple of three points to render IXRPolyBezierSegment, so that there are always two control points and one endpoint for each Bézier curve in the segment.

.NET Framework Equivalent

System.Windows.Media.PolyBezierSegment.Points

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPolyBezierSegment
IXRPolyBezierSegment::GetPoints