Home
last modified time | relevance | path

Searched refs:PageWidth (Results 1 – 9 of 9) sorted by relevance

/third_party/cups-filters/filter/
Dcommon.c44 PageWidth = 612.0f, /* Total page width */ variable
76 PageWidth = pagesize->width; in SetCommonOptions()
135 if (pagesize->left >= 0 && pagesize->left <= PageWidth) in SetCommonOptions()
141 if (PageWidth <= PageLeft) in SetCommonOptions()
145 if (pagesize->right >= 0 && pagesize->right <= PageWidth) in SetCommonOptions()
151 if (PageWidth >= PageLeft) in SetCommonOptions()
152 PageRight = PageWidth - PageLeft; in SetCommonOptions()
154 PageRight = PageWidth; in SetCommonOptions()
161 PageRight = PageWidth - PageLeft; in SetCommonOptions()
165 PageRight = PageWidth; in SetCommonOptions()
[all …]
Dimagetopdf.c402 "/MediaBox [ 0 0 %f %f ] ",PageWidth,PageLength); in outPageObject()
405 "/TrimBox [ 0 0 %f %f ] ",PageWidth,PageLength); in outPageObject()
408 "/CropBox [ 0 0 %f %f ] ",PageWidth,PageLength); in outPageObject()
478 "-1 0 0 1 %.0f 0 cm\n",PageWidth); in outPageContents()
486 "0 1 -1 0 %.0f 0 cm\n",PageWidth); in outPageContents()
491 "-1 0 0 -1 %.0f %.0f cm\n",PageWidth, PageLength); in outPageContents()
773 PageWidth = h.cupsPageSize[0] != 0.0 ? h.cupsPageSize[0] : in main()
971 if(PageLength!=PageTop-PageBottom||PageWidth!=PageRight-PageLeft) in main()
1068 PageRight = PageWidth; in main()
1142 PageLeft += (PageWidth - final_h * 72.0 / img->yppi) / 2; in main()
[all …]
Dtest_pdf1.c24 const int PageWidth=595,PageLength=842; in main() local
45 ,obj,PageWidth,PageLength,cobj,font_obj); // TODO: into pdf-> in main()
Dtest_pdf2.c64 const int PageWidth=595,PageLength=842; in main() local
99 ,obj,PageWidth,PageLength,cobj,font_obj); // TODO: into pdf-> in main()
Dcommon.h47 PageWidth, /* Total page width */
Dtexttopdf.c262 obj,PageWidth,PageLength,content,FontResource); in WritePage()
1026 x = PageWidth - PageRight; in write_string()
1171 x = PageWidth - PageRight; in write_pretty_header()
Dpdfutils.c426 ,,,PageWidth,PageLength // TODO: into pdf->
Dtextcommon.c552 PageRight = PageWidth - 36.0f; in TextMain()
Dimagetoraster.c625 if(PageLength!=PageTop-PageBottom||PageWidth!=PageRight-PageLeft) in main()
737 float pw = (cropfit ? PageWidth : PageRight-PageLeft); in main()
822 margin = (PageWidth - final_h * 72.0 / img->yppi) / 2; in main()
854 margin = (PageWidth - final_w * 72.0 / img->xppi) / 2; in main()
1129 PageWidth = width; in main()