Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.06 KB

ipointerpointtransform_transformbounds_2050801728.md

File metadata and controls

29 lines (20 loc) · 1.06 KB
-api-id -api-type
M:Windows.UI.Input.IPointerPointTransform.TransformBounds(Windows.Foundation.Rect)
winrt method

Windows.UI.Input.IPointerPointTransform.TransformBounds

-description

Transforms the specified bounding rectangle.

-parameters

-param rect

The bounding rectangle to transform.

-returns

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.

-examples

-see-also