double computeRatioWidth(double height, Size ratioSize) { return height / (ratioSize.height / ratioSize.width); }