Lines Matching refs:scale_factor
1361 scale_factor;
1367 scale_factor=1.0;
1371 scale_factor=(double) *width/(double) former_width;
1374 if (scale_factor > ((double) *height/(double) former_height))
1375 scale_factor=(double) *height/(double) former_height;
1378 if (scale_factor < ((double) *height/(double) former_height))
1379 scale_factor=(double) *height/(double) former_height;
1384 scale_factor=(double) *width/(double) former_width;
1386 (scale_factor < ((double) *width/(double) former_height)))
1387 scale_factor=(double) *width/(double) former_height;
1391 scale_factor=(double) *height/(double) former_height;
1393 (scale_factor < ((double) *height/(double) former_width)))
1394 scale_factor=(double) *height/(double) former_width;
1396 *width=MagickMax((size_t) floor(scale_factor*former_width+0.5),1UL);
1397 *height=MagickMax((size_t) floor(scale_factor*former_height+0.5),1UL);