Home
last modified time | relevance | path

Searched refs:right_margin (Results 1 – 7 of 7) sorted by relevance

/packages/services/BuiltInPrintService/jni/lib/
Dprintable_area.c27 float right_margin, float bottom_margin) { in printable_area_get() argument
54 (left_margin + right_margin)) * (float)job_params->pixel_units)); in printable_area_get()
61 job_params->page_right_margin = right_margin; in printable_area_get()
78 if (job_params->job_right_margin > right_margin) { in printable_area_get()
79 job_params->print_right_margin = floorf(((job_params->job_right_margin - right_margin) * in printable_area_get()
83 ((right_margin) * (float) job_params->pixel_units)); in printable_area_get()
104 float *left_margin, float *right_margin, in printable_area_get_default_margins() argument
119 *right_margin = 0.0f; in printable_area_get_default_margins()
125 *right_margin = -0.118f; in printable_area_get_default_margins()
135 *right_margin = (float) printer_cap->printerRightMargin / 2540; in printable_area_get_default_margins()
[all …]
Dlib_wprint.c174 unsigned int right_margin; member
1029 jq->job_params.print_right_margin += page.right_margin; in _job_thread()
1067 jq->job_params.print_right_margin -= page.right_margin; in _job_thread()
2029 bool pdf_page, unsigned int top_margin, unsigned int left_margin, unsigned int right_margin, in wprintPage() argument
2063 page.right_margin = right_margin; in wprintPage()
/packages/services/BuiltInPrintService/jni/include/
Dlib_printable_area.h28 float left_margin, float right_margin, float bottom_margin);
35 float *right_margin, float *bottom_margin);
Difc_printer_capabilities.h44 float *top_margin, float *left_margin, float *right_margin, float *bottom_margin);
Dlib_wprint.h330 unsigned int right_margin, unsigned int bottom_margin);
/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_image.c86 unsigned int top_margin, unsigned int left_margin, unsigned int right_margin, in wprint_image_set_output_properties() argument
108 bottom_margin = right_margin; in wprint_image_set_output_properties()
109 right_margin = temp; in wprint_image_set_output_properties()
122 image_info->printable_width = printable_width - (left_margin + right_margin); in wprint_image_set_output_properties()
162 image_info->output_padding_left = right_margin; in wprint_image_set_output_properties()
171 image_info->output_padding_right = right_margin; in wprint_image_set_output_properties()
Dwprint_image.h188 unsigned int top_margin, unsigned int left_margin, unsigned int right_margin,