Scale a Rect to have a size equivalent to the scaledSize. This will also scale the position of the Rect.
For example, scaling a Rect(1, 2, 3, 4) by Size(5, 6) will result in a Rect(5, 12, 15, 24)