Searched refs:final_h (Results 1 – 3 of 3) sorted by relevance
/third_party/cups-filters/filter/ |
D | imagetopdf.c | 1109 float final_w,final_h; in main() local 1112 final_h =w*ph/pw; in main() 1116 final_h = h; in main() 1118 float posw=(w-final_w)/2,posh=(h-final_h)/2; in main() 1121 cups_image_t *img2 = cupsImageCrop(img,posw,posh,final_w,final_h); in main() 1127 float final_w=w,final_h=h; in main() local 1131 final_h = ph * img->yppi / 72.0; in main() 1132 float posw=(w-final_w)/2,posh=(h-final_h)/2; in main() 1135 cups_image_t *img2 = cupsImageCrop(img,posw,posh,final_w,final_h); in main() 1142 PageLeft += (PageWidth - final_h * 72.0 / img->yppi) / 2; in main() [all …]
|
D | imagetoraster.c | 776 float final_w,final_h; in main() local 779 final_h =w*ph/pw; in main() 783 final_h = h; in main() 786 float posw=(w-final_w)/2,posh=(h-final_h)/2; in main() 789 cups_image_t *img2 = cupsImageCrop(img,posw,posh,final_w,final_h); in main() 795 float final_w=w,final_h=h; in main() local 799 final_h = ph * img->yppi / 72.0; in main() 800 float posw=(w-final_w)/2,posh=(h-final_h)/2; in main() 822 margin = (PageWidth - final_h * 72.0 / img->yppi) / 2; in main() 828 final_h -= cutoff; in main() [all …]
|
/third_party/cups-filters/filter/pdftopdf/ |
D | qpdf_pdftopdf_processor.cc | 193 double final_w,final_h; //Width and height of cropped image. in crop() local 211 final_h = width*pageHeight/pageWidth; in crop() 215 final_h = height; in crop() 220 final_h = pageHeight; in crop() 222 fprintf(stderr,"After Cropping: %lf %lf %lf %lf\n",width,height,final_w,final_h); in crop() 224 posh = (height-final_h)/2; in crop() 240 currpage.top =currpage.bottom+final_h; in crop()
|