Searched refs:ratio_x (Results 1 – 2 of 2) sorted by relevance
189 double ratio_x, ratio_y; in php_imagick_thumbnail_dimensions() local195 ratio_x = (double) desired_width / (double) orig_width; in php_imagick_thumbnail_dimensions()199 if (ratio_x == ratio_y) { in php_imagick_thumbnail_dimensions()202 } else if (ratio_x < ratio_y) { in php_imagick_thumbnail_dimensions()205 *new_height = ratio_x * ((double) orig_height); in php_imagick_thumbnail_dimensions()208 *new_height = im_round_helper(ratio_x * ((double) orig_height)); in php_imagick_thumbnail_dimensions()
7929 double ratio_x, ratio_y; local7932 ratio_x = ((double) desired_width / (double) orig_width);7935 if (ratio_x > ratio_y) {7939 temp_new_height = (long)(ratio_x * (double)orig_height);7942 temp_new_height = im_round_helper_class(ratio_x * (double)orig_height);
Completed in 44 milliseconds