IXRKeySpline::GetControlPoint1 (Compact 2013)

3/28/2014

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

Syntax

virtual HRESULT STDMETHODCALLTYPE GetControlPoint1(
    XRPoint* pControlPoint1
) = 0;

Parameters

  • pControlPoint1
    [out] 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.Spline.ControlPoint1

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRKeySpline
IXRKeySpline::SetControlPoint1