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
48 ((job_params->page_width - (left_margin + right_margin)) * in printable_area_get()
55 job_params->page_left_margin = left_margin; in printable_area_get()
66 if (job_params->job_left_margin > left_margin) { in printable_area_get()
67 job_params->print_left_margin = floorf(((job_params->job_left_margin - left_margin) * in printable_area_get()
71 ((left_margin) * (float) job_params->pixel_units)); in printable_area_get()
99 float *left_margin, float *right_margin, in printable_area_get_default_margins() argument
113 *left_margin = 0.0f; in printable_area_get_default_margins()
119 *left_margin = -0.10f; in printable_area_get_default_margins()
129 *left_margin = (float) printer_cap->printerLeftMargin / 2540; in printable_area_get_default_margins()
[all …]
Dlib_wprint.c168 unsigned int left_margin; member
951 jq->job_params.print_left_margin += page.left_margin; in _job_thread()
989 jq->job_params.print_left_margin -= page.left_margin; in _job_thread()
1925 bool pdf_page, unsigned int top_margin, unsigned int left_margin, unsigned int right_margin, in wprintPage() argument
1958 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.c149 float left_margin) { in _start_job() argument
188 if (left_margin < 0.0f || top_margin < 0.0f) { in _start_job()
192 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.h311 bool pdf_page, unsigned int top_margin, unsigned int left_margin,