Home
last modified time | relevance | path

Searched refs:STANDARD_SCALE_FOR_PDF (Results 1 – 5 of 5) sorted by relevance

/packages/services/BuiltInPrintService/jni/plugins/
Dmedia.h24 #define STANDARD_SCALE_FOR_PDF 72.0 macro
26 #define _MI_TO_POINTS(n) _MI_TO_PIXELS(n, STANDARD_SCALE_FOR_PDF)
Dlib_pclm.c122 job_info->standard_scale = (float) resolution / (float) STANDARD_SCALE_FOR_PDF; in _start_job()
136 job_info->pclm_page_info.mediaWidthOffset = (left_margin * (float) STANDARD_SCALE_FOR_PDF); in _start_job()
137 job_info->pclm_page_info.mediaHeightOffset = (top_margin * (float) STANDARD_SCALE_FOR_PDF); in _start_job()
Dlib_pwg.c49 h->cupsPageSize[0] = (float) ((pixel_width * STANDARD_SCALE_FOR_PDF) / h->HWResolution[0]); in _write_header_pwg()
50 h->cupsPageSize[1] = (float) ((pixel_height * STANDARD_SCALE_FOR_PDF) / h->HWResolution[1]); in _write_header_pwg()
Dlib_pcl.h29 #define STANDARD_SCALE_FOR_PDF 72.0 macro
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp36 #define STANDARD_SCALE_FOR_PDF 72.0 macro
858 sprintf(str, "%f 0 0 %f 0 0 cm\n", STANDARD_SCALE_FOR_PDF / currRenderResolutionInteger, in writePDFGrammarPage()
859 STANDARD_SCALE_FOR_PDF / currRenderResolutionInteger); in writePDFGrammarPage()
1370 STANDARD_SCALE = (float) currRenderResolutionInteger / (float) STANDARD_SCALE_FOR_PDF; in PCLmGenerator()
1477 STANDARD_SCALE = (float) currRenderResolutionInteger / (float) STANDARD_SCALE_FOR_PDF; in StartPage()
1491 topMarginInPix = (int) (((PCLmPageContent->mediaHeightOffset / STANDARD_SCALE_FOR_PDF) * in StartPage()
1493 leftMarginInPix = (int) (((PCLmPageContent->mediaWidthOffset / STANDARD_SCALE_FOR_PDF) * in StartPage()