Home
last modified time | relevance | path

Searched refs:left_margin (Results 1 – 10 of 10) sorted by relevance

/packages/services/BuiltInPrintService/jni/lib/
Dprintable_area.c26 void printable_area_get(wprint_job_params_t *job_params, float top_margin, float left_margin, in printable_area_get() argument
54 (left_margin + right_margin)) * (float)job_params->pixel_units)); in printable_area_get()
60 job_params->page_left_margin = left_margin; in printable_area_get()
71 if (job_params->job_left_margin > left_margin) { in printable_area_get()
72 job_params->print_left_margin = floorf(((job_params->job_left_margin - left_margin) * in printable_area_get()
76 ((left_margin) * (float) job_params->pixel_units)); in printable_area_get()
104 float *left_margin, float *right_margin, in printable_area_get_default_margins() argument
118 *left_margin = 0.0f; in printable_area_get_default_margins()
124 *left_margin = -0.10f; in printable_area_get_default_margins()
134 *left_margin = (float) printer_cap->printerLeftMargin / 2540; in printable_area_get_default_margins()
[all …]
Dlib_wprint.c173 unsigned int left_margin; member
1028 jq->job_params.print_left_margin += page.left_margin; in _job_thread()
1066 jq->job_params.print_left_margin -= page.left_margin; in _job_thread()
2029 bool pdf_page, unsigned int top_margin, unsigned int left_margin, unsigned int right_margin, in wprintPage() argument
2062 page.left_margin = left_margin; in wprintPage()
/packages/services/BuiltInPrintService/jni/plugins/
Dlib_pclm.c93 float left_margin) { in _start_job() argument
114 media_tray, top_margin, left_margin); in _start_job()
132 if ((left_margin < 0.0f) || (top_margin < 0.0f)) { in _start_job()
136 job_info->pclm_page_info.mediaWidthOffset = (left_margin * (float) STANDARD_SCALE_FOR_PDF); in _start_job()
Dwprint_image.c86 unsigned int top_margin, unsigned int left_margin, unsigned int right_margin, in wprint_image_set_output_properties() argument
106 top_margin = left_margin; in wprint_image_set_output_properties()
107 left_margin = bottom_margin; in wprint_image_set_output_properties()
122 image_info->printable_width = printable_width - (left_margin + right_margin); in wprint_image_set_output_properties()
163 image_info->output_padding_right = left_margin; in wprint_image_set_output_properties()
170 image_info->output_padding_left = left_margin; in wprint_image_set_output_properties()
Dlib_pwg.c145 float left_margin) { in _start_job() argument
184 if (left_margin < 0.0f || top_margin < 0.0f) { in _start_job()
188 job_info->pclm_page_info.mediaWidthOffset = left_margin; in _start_job()
Dwprint_image.h188 unsigned int top_margin, unsigned int left_margin, unsigned int right_margin,
Dlib_pcl.h131 float top_margin, float left_margin);
/packages/services/BuiltInPrintService/jni/include/
Dlib_printable_area.h28 float left_margin, float right_margin, float bottom_margin);
34 const printer_capabilities_t *printer_cap, float *top_margin, float *left_margin,
Difc_printer_capabilities.h44 float *top_margin, float *left_margin, float *right_margin, float *bottom_margin);
Dlib_wprint.h327 bool pdf_page, unsigned int top_margin, unsigned int left_margin,