Lines Matching refs:left_margin
26 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()
140 *left_margin = 0.0f; in printable_area_get_default_margins()
154 *left_margin = 0.25f; in printable_area_get_default_margins()
160 *left_margin = 0.125f; in printable_area_get_default_margins()
171 "right_margin=%f, bottom_margin=%f", *top_margin, *left_margin, *right_margin, in printable_area_get_default_margins()