y_ratio          4005 ext/gd/gd.c    	float x_ratio, y_ratio;
y_ratio          4086 ext/gd/gd.c    	y_ratio = (float) org_height / (float) dest_height;
y_ratio          4088 ext/gd/gd.c    	if (x_ratio > 1 && y_ratio > 1) {
y_ratio          4089 ext/gd/gd.c    		if (y_ratio > x_ratio) {
y_ratio          4090 ext/gd/gd.c    			x_ratio = y_ratio;
y_ratio          4092 ext/gd/gd.c    			y_ratio = x_ratio;
y_ratio          4095 ext/gd/gd.c    		dest_height = (int) (org_height / y_ratio);
y_ratio          4098 ext/gd/gd.c    		y_ratio = (float) dest_height / (float) org_height;
y_ratio          4100 ext/gd/gd.c    		if (y_ratio < x_ratio) {
y_ratio          4101 ext/gd/gd.c    			x_ratio = y_ratio;
y_ratio          4103 ext/gd/gd.c    			y_ratio = x_ratio;
y_ratio          4106 ext/gd/gd.c    		dest_height = (int) (org_height * y_ratio);