Lines Matching refs:imgWidth
210 final int imgWidth = (int)pageFormat.getImageableWidth();
213 if (imgWidth <= 0) {
273 totalColWidth > imgWidth) {
276 assert imgWidth > 0;
278 // it must be, according to the if-condition, since imgWidth > 0
281 sf = (double)imgWidth / (double)totalColWidth;
303 int scaledWidth = (int)(imgWidth / sf);
327 printText(g2d, footerText, fRect, footerFont, imgWidth);
335 printText(g2d, headerText, hRect, headerFont, imgWidth);
343 tempRect.width = imgWidth;
355 int diff = (imgWidth - clip.width) / 2;
409 * @param imgWidth the width of the area to draw into
415 int imgWidth) {
420 if (rect.getWidth() < imgWidth) {
421 tx = (int)((imgWidth - rect.getWidth()) / 2);
430 tx = -(int)(Math.ceil(rect.getWidth()) - imgWidth);