TransformRect

Transforms a rect by the given transform.