y_ratio 4466 ext/gd/gd.c float x_ratio, y_ratio; y_ratio 4545 ext/gd/gd.c y_ratio = (float) org_height / (float) dest_height; y_ratio 4547 ext/gd/gd.c if (x_ratio > 1 && y_ratio > 1) { y_ratio 4548 ext/gd/gd.c if (y_ratio > x_ratio) { y_ratio 4549 ext/gd/gd.c x_ratio = y_ratio; y_ratio 4551 ext/gd/gd.c y_ratio = x_ratio; y_ratio 4554 ext/gd/gd.c dest_height = (int) (org_height / y_ratio); y_ratio 4557 ext/gd/gd.c y_ratio = (float) dest_height / (float) org_height; y_ratio 4559 ext/gd/gd.c if (y_ratio < x_ratio) { y_ratio 4560 ext/gd/gd.c x_ratio = y_ratio; y_ratio 4562 ext/gd/gd.c y_ratio = x_ratio; y_ratio 4565 ext/gd/gd.c dest_height = (int) (org_height * y_ratio);