Constraint a Rectangle into another by preserving the ratio.