IPointerPointTransform.TransformBounds(Rect) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Transforms the specified bounding rectangle.
public:
Rect TransformBounds(Rect rect);
Rect TransformBounds(Rect const& rect);
public Rect TransformBounds(Rect rect);
function transformBounds(rect)
Public Function TransformBounds (rect As Rect) As Rect
- rect
- Rect
The bounding rectangle to transform.
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.)
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.