IPointerPointTransform.TransformBounds Method

Transforms the specified bounding rectangle.

Syntax

public:
Rect TransformBounds(
         Rect rect
)  

Parameters

rect
Type: Rect 

The bounding rectangle to transform.

Return value

Type: Rect 

The smallest, axis-aligned bounding box that encloses rect after the transformation. (An axis-aligned bounding box is one which has all sides parallel to the coordinate axes.)

Remarks

rect is typically the ContactRect associated with the input point that is transformed through the TryTransform method. rect must be recalculated as it does not change with the transformation of the input point.

This method should return an HResult that identifies whether the transformation was successful.

This API is not implemented and will throw an exception if called.

Requirements

Namespace: Windows.UI.Input

Metadata: windows.winmd

See also

Reference

IPointerPointTransform Interface

IPointerPointTransform Members

Windows.UI.Input Namespace