Lines Matching refs:upper_left_x
2113 set_WD_ULX(buffer_r, dev->upper_left_x); /* left_edge x */
3430 maxwidth = inquiry_width * dev->x_coordinate_base - dev->upper_left_x - 1;
3437 if (dev->upper_left_x < inquiry_x_orig)
3439 dev->upper_left_x = inquiry_x_orig;
4396 dev->upper_left_x = 0; /* at 1200pt/inch */
7598 scanner->device->upper_left_x = ((int) (SANE_UNFIX(scanner->val[OPT_TL_X].w) * xbasedots)) & 65534;
7605 scanner->device->upper_left_x = (int) (SANE_UNFIX(scanner->val[OPT_TL_X].w) * xbasedots);
7626 scanner->device->upper_left_x -= scanner->device->inquiry_dor_x_off * scanner->device->x_coordinate_base; /* correct DOR x-origin */
7628 if (scanner->device->upper_left_x < 0) /* rounding errors may create a negative value */
7630 scanner->device->upper_left_x = 0; /* but negative values are not allowed */
7664 DBG(DBG_sane_info,"upper_left_x (xbase) = %d\n", scanner->device->upper_left_x);