Lines Matching defs:height
1216 int tl_x, int tl_y, int width, int height, unsigned char source)
1218 /* NB. here int tl_x, int tl_y, int width, int height are in DPI units, not optres units! */
1277 /* Z width height note the s->width and s->height are in optres units
1284 tx_widthheight[5]=(height) & 0xff;
1285 tx_widthheight[6]=((height) >> 8) & 0xff;
1618 s->params.pixels_per_line, s->params.lines, /* extent was s->width, s->height*/
1645 s->data_len = s->scan_bytes_per_line * floor (s->height * dpi / optres + 0.5); /* NB this is the length for a full scan */
1796 /* TODO: Use OPT_RESOLUTION or fixed 600dpi for left/top/width/height? */
1806 s->height = ((SANE_UNFIX(s->val[OPT_BR_Y].w -
1809 DBG(20, "%s: s->width = %d, s->height = %d optres units\n",
1810 __func__, s->width, s->height);
1818 s->params.lines = s->height * dpi / optres + 0.5;