Lines Matching refs:desired_width
175 …mbnail_dimensions(MagickWand *magick_wand, zend_bool bestfit, im_long desired_width, im_long desir… in php_imagick_thumbnail_dimensions() argument
182 if ((orig_width == desired_width) && (orig_height == desired_height)) { in php_imagick_thumbnail_dimensions()
183 *new_width = desired_width; in php_imagick_thumbnail_dimensions()
191 if (desired_width <= 0 || desired_height <= 0) { in php_imagick_thumbnail_dimensions()
195 ratio_x = (double) desired_width / (double) orig_width; in php_imagick_thumbnail_dimensions()
200 *new_width = desired_width; in php_imagick_thumbnail_dimensions()
203 *new_width = desired_width; 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()
230 if (desired_width <= 0) { in php_imagick_thumbnail_dimensions()
240 ratio = (double) orig_width / (double) desired_width; in php_imagick_thumbnail_dimensions()
247 *new_width = desired_width; in php_imagick_thumbnail_dimensions()
250 *new_width = desired_width; in php_imagick_thumbnail_dimensions()