次の方法で共有


IXRGeneralTransform::TransformBounds (Compact 2013)

3/28/2014

This method transforms the specified bounding box and returns an axis-aligned bounding box that is exactly large enough to contain it.

Syntax

virtual HRESULT STDMETHODCALLTYPE TransformBounds(
    __inout XRRect* pBounds
) = 0;

Parameters

  • pBounds
    [in, out] Pointer to an XRRect structure that represents the bounding box to transform.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

This method is called in a derived class and applies the transformation defined in that class.

After the call to IXRGeneralTransform::TransformBounds, pBounds points to the smallest axis-aligned bounding box possible that can contain the original XRRect. Each edge of the bounding box is perpendicular to the x-axis or the y-axis.

.NET Framework Equivalent

System.Windows.Media.GeneralTransform.TransformBounds

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRGeneralTransform