Lines Matching refs:desired_height
175 …Wand *magick_wand, zend_bool bestfit, im_long desired_width, im_long desired_height, im_long *new_… in php_imagick_thumbnail_dimensions() argument
182 if ((orig_width == desired_width) && (orig_height == desired_height)) { in php_imagick_thumbnail_dimensions()
184 *new_height = desired_height; in php_imagick_thumbnail_dimensions()
191 if (desired_width <= 0 || desired_height <= 0) { in php_imagick_thumbnail_dimensions()
196 ratio_y = (double) desired_height / (double) orig_height; in php_imagick_thumbnail_dimensions()
201 *new_height = desired_height; in php_imagick_thumbnail_dimensions()
211 *new_height = desired_height; in php_imagick_thumbnail_dimensions()
225 if (desired_width <= 0 && desired_height <= 0) { in php_imagick_thumbnail_dimensions()
229 if (desired_width <= 0 || desired_height <= 0) { in php_imagick_thumbnail_dimensions()
231 ratio = (double) orig_height / (double) desired_height; in php_imagick_thumbnail_dimensions()
238 *new_height = desired_height; in php_imagick_thumbnail_dimensions()
251 *new_height = desired_height; in php_imagick_thumbnail_dimensions()