Partager via


IXRPolyQuadraticBezierSegment::SetPoints (Compact 2013)

3/28/2014

This method sets the IXRPointCollection that defines an IXRPolyQuadraticBezierSegment object.

Syntax

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

Parameters

  • pPoints
    [in] Points to an IXRPointCollection object that contains the points that define a curve.

Return Values

Returns a standard HRESULT value.

Remarks

The first two points specify the control point and endpoint of the first curve segment. The next two points specify the control point and endpoint of the second curve segment, and so on. The collection must contain an even number of points. To specify only two points, you can also use IXRQuadraticBezierSegment

.NET Framework Equivalent

System.Windows.Media.PolyQuadraticBezierSegment.Points

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPolyQuadraticBezierSegment
IXRPolyQuadraticBezierSegment::GetPoints