Home
last modified time | relevance | path

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

/third_party/cups-filters/filter/
Dcommon.c45 PageLength = 792.0f; /* Total page length */ variable
84 PageLength = pagesize->length; in SetCommonOptions()
91 if (pagesize->top >= 0 && pagesize->top <= PageLength) in SetCommonOptions()
97 if (PageLength >= PageBottom) in SetCommonOptions()
98 PageTop = PageLength - PageBottom; in SetCommonOptions()
100 PageTop = PageLength; in SetCommonOptions()
103 if (pagesize->bottom >= 0 && pagesize->bottom <= PageLength) in SetCommonOptions()
109 if (PageLength <= PageBottom) in SetCommonOptions()
117 PageTop = PageLength - PageBottom; in SetCommonOptions()
121 PageTop = PageLength; in SetCommonOptions()
[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()
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()
491 "-1 0 0 -1 %.0f %.0f cm\n",PageWidth, PageLength); in outPageContents()
496 "0 -1 1 0 0 %.0f cm\n",PageLength); in outPageContents()
775 PageLength = h.cupsPageSize[1] != 0.0 ? h.cupsPageSize[1] : in main()
971 if(PageLength!=PageTop-PageBottom||PageWidth!=PageRight-PageLeft) in main()
1066 PageTop = PageLength; in main()
1140 PageBottom += (PageLength - final_w * 72.0 / img->xppi) / 2; in main()
1147 PageBottom += (PageLength - final_h * 72.0 / img->yppi) / 2; in main()
[all …]
Dcommon.h48 PageLength; /* Total page length */
Dpdfutils.c426 ,,,PageWidth,PageLength // TODO: into pdf->
Dtextcommon.c554 PageTop = PageLength - 36.0f; in TextMain()
Dimagetoraster.c625 if(PageLength!=PageTop-PageBottom||PageWidth!=PageRight-PageLeft) in main()
738 float ph = (cropfit ? PageLength : PageTop-PageBottom); in main()
808 margin = (PageLength - final_w * 72.0 / img->xppi) / 2; in main()
840 margin = (PageLength - final_h * 72.0 / img->yppi) / 2; in main()
1130 PageLength = length; in main()
Dtexttopdf.c262 obj,PageWidth,PageLength,content,FontResource); in WritePage()