Partager via


IXRKeySpline::SetControlPoint2 (Windows Embedded CE 6.0)

1/6/2010

This method sets the second control point used to define a Bézier curve that describes this key spline.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetControlPoint2(
    XRPoint* pControlPoint2
) = 0;

Parameters

  • pControlPoint2
    [in] Pointer to an XRPoint structure that defines a control point that is used to manipulate the Bézier curve that describes this key spline.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Control point 1 and control point 2 are logical points in a relative coordinate system, not points in an actual on-screen coordinate system. When a logical point is defined, the values of both x and y are expected to be between 0 and 1 inclusive.

.NET Framework Equivalent

System.Windows.Media.Animation.KeySpline.ControlPoint2

Requirements

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

See Also

Reference

IXRKeySpline
IXRKeySpline::GetControlPoint2