Home
last modified time | relevance | path

Searched refs:top_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
56 (top_margin + bottom_margin)) * (float)job_params->pixel_units)); in printable_area_get()
59 job_params->page_top_margin = top_margin; in printable_area_get()
65 if (job_params->job_top_margin > top_margin) { in printable_area_get()
67 ((job_params->job_top_margin - top_margin) * (float) job_params->pixel_units)); in printable_area_get()
69 job_params->print_top_margin = floorf(((top_margin) * (float) job_params->pixel_units)); in printable_area_get()
103 float *top_margin, in printable_area_get_default_margins() argument
117 *top_margin = 0.0f; in printable_area_get_default_margins()
123 *top_margin = -0.065f; in printable_area_get_default_margins()
132 *top_margin = (float) printer_cap->printerTopMargin / 2540; in printable_area_get_default_margins()
[all …]
Dlib_wprint.c172 unsigned int top_margin; member
1027 jq->job_params.print_top_margin += page.top_margin; in _job_thread()
1065 jq->job_params.print_top_margin -= page.top_margin; in _job_thread()
2029 bool pdf_page, unsigned int top_margin, unsigned int left_margin, unsigned int right_margin, in wprintPage() argument
2061 page.top_margin = top_margin; in wprintPage()
/packages/services/BuiltInPrintService/jni/plugins/
Dlib_pclm.c92 color_space_t color_space, media_tray_t media_tray, float top_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()
137 job_info->pclm_page_info.mediaHeightOffset = (top_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
105 temp = top_margin; in wprint_image_set_output_properties()
106 top_margin = left_margin; in wprint_image_set_output_properties()
123 image_info->printable_height = printable_height - (top_margin + bottom_margin); in wprint_image_set_output_properties()
164 image_info->output_padding_bottom = top_margin; in wprint_image_set_output_properties()
169 image_info->output_padding_top = top_margin; in wprint_image_set_output_properties()
Dlib_pwg.c144 color_space_t color_space, media_tray_t media_tray, float top_margin, in _start_job() argument
184 if (left_margin < 0.0f || top_margin < 0.0f) { in _start_job()
189 job_info->pclm_page_info.mediaHeightOffset = top_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.h27 extern void printable_area_get(wprint_job_params_t *job_params, float top_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,