Searched refs:ratio_y (Results 1 – 2 of 2) sorted by relevance
189 double ratio_x, ratio_y; in php_imagick_thumbnail_dimensions() local196 ratio_y = (double) desired_height / (double) orig_height; 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()213 *new_width = ratio_y * ((double) orig_width); in php_imagick_thumbnail_dimensions()216 *new_width = im_round_helper(ratio_y * ((double) orig_width)); in php_imagick_thumbnail_dimensions()
7929 double ratio_x, ratio_y; local7933 ratio_y = ((double) desired_height / (double) orig_height);7935 if (ratio_x > ratio_y) {7947 temp_new_width = (long)(ratio_y * (double)orig_width);7950 temp_new_width = im_round_helper_class(ratio_y * (double)orig_width);
Completed in 54 milliseconds