Converts a percentage of the screen size into inches.
double ip(double percent) { return inch * percent / 100; }