Calculates the width/height ratio of a rectangle.
The rectangle.
The width/height ratio of the rectangle.