Share via


IXRUIElement::TransformPointRelative (Compact 2013)

3/28/2014

This method transforms the specified source x-y coordinates into the target x-y coordinates by using this element's IXRTransform-derived object and its display-transformation origin point.

Syntax

virtual HRESULT STDMETHODCALLTYPE TransformPointRelative(
    XRPoint* pPoint
) = 0;

Parameters

  • pPoint
    [in, out] Pointer to an XRPoint structure that describes the x-y coordinates to transform. On return, contains an XRPoint structure that contains the transformed x-y coordinates.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The x-y coordinates specified in pPoint are in relation to another UI element, typically the parent element.

The render-transform origin point can be set by calling IXRUIElement::SetRenderTransformOrigin; the IXRTransform derived object can be set by calling IXRUIElement::SetRenderTransform.

.NET Framework Equivalent

None.

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRUIElement