Lines Matching defs:yres
236 xres = 0, yres = 0, xsz = 0, ysz = 0 ;
331 if ( ainyres > 0 ) ifile.page->yres = ainyres ;
334 if ( ifile.page->yres <= 0 ) ifile.page->yres = dyres ;
337 yres = ayres > 0 ? ayres : ifile.page->yres ;
342 ifile.page->h / ifile.page->yres : dysz ) ;
346 h = ysz * yres + 0.5 ;
349 iysh = ysh * yres ;
359 if ( w <= 0 || h <= 0 || xres < 0 || yres < 0 )
363 ( xres != yres || ( xres != 300 && xres != 150 && xres != 75 ) ) )
364 msg ( "Wstrange PCL resolution (%.0fx%.0f)", xres, yres ) ;
372 ofile.yres = yres ;
377 ys = 256 * ysc * yres / ifile.page->yres + 0.5 ;