Lines Matching refs:scale
5075 double scale; in computeInputPixelOffsets() local
5107 scale = 1.0; in computeInputPixelOffsets()
5111 scale = 1.0/2.54; in computeInputPixelOffsets()
5115 scale = 2.54; in computeInputPixelOffsets()
5129 x1 = (uint32) (crop->corners[i].X1 * scale * xres); in computeInputPixelOffsets()
5130 x2 = (uint32) (crop->corners[i].X2 * scale * xres); in computeInputPixelOffsets()
5131 y1 = (uint32) (crop->corners[i].Y1 * scale * yres); in computeInputPixelOffsets()
5132 y2 = (uint32) (crop->corners[i].Y2 * scale * yres); in computeInputPixelOffsets()
5209 tmargin = (uint32)(crop->margins[0] * scale * yres); in computeInputPixelOffsets()
5210 lmargin = (uint32)(crop->margins[1] * scale * xres); in computeInputPixelOffsets()
5211 bmargin = (uint32)(crop->margins[2] * scale * yres); in computeInputPixelOffsets()
5212 rmargin = (uint32)(crop->margins[3] * scale * xres); in computeInputPixelOffsets()
5254 width = (uint32)(crop->width * scale * image->xres); in computeInputPixelOffsets()
5259 length = (uint32)(crop->length * scale * image->yres); in computeInputPixelOffsets()
5580 double scale; in computeOutputPixelOffsets() local
5590 scale = 1.0; in computeOutputPixelOffsets()
5597 scale = 1.0/2.54; in computeOutputPixelOffsets()
5601 scale = 2.54; in computeOutputPixelOffsets()
5650 page->res_unit, scale, pwidth, plength); in computeOutputPixelOffsets()
5658 hmargin = (uint32)(page->hmargin * scale * page->hres * ((image->bps + 7)/ 8)); in computeOutputPixelOffsets()
5659 vmargin = (uint32)(page->vmargin * scale * page->vres * ((image->bps + 7)/ 8)); in computeOutputPixelOffsets()
5663 hmargin = (uint32)(page->hmargin * scale * ((image->bps + 7)/ 8)); in computeOutputPixelOffsets()
5664 vmargin = (uint32)(page->vmargin * scale * ((image->bps + 7)/ 8)); in computeOutputPixelOffsets()