Lines Matching refs:img

937      * @param    img the specified image to be drawn.
947 public boolean drawImage(Image img, int x, int y,
950 if (img == null) {
957 ImageWaiter dim = new ImageWaiter(img);
960 mPrintMetrics.drawImage(this, img);
962 return mGraphics.drawImage(img, x, y, observer);
988 * @param img the specified image to be drawn.
1000 public boolean drawImage(Image img, int x, int y,
1004 if (img == null) {
1008 mPrintMetrics.drawImage(this, img);
1010 return mGraphics.drawImage(img, x, y, width, height, observer);
1033 * @param img the specified image to be drawn.
1045 public boolean drawImage(Image img, int x, int y,
1049 if (img == null) {
1056 ImageWaiter dim = new ImageWaiter(img);
1059 mPrintMetrics.drawImage(this, img);
1061 return mGraphics.drawImage(img, x, y, bgcolor, observer);
1090 * @param img the specified image to be drawn.
1104 public boolean drawImage(Image img, int x, int y,
1109 if (img == null) {
1114 mPrintMetrics.drawImage(this, img);
1116 return mGraphics.drawImage(img, x, y, width, height, bgcolor, observer);
1143 * @param img the specified image to be drawn
1167 public boolean drawImage(Image img,
1172 if (img == null) {
1180 mPrintMetrics.drawImage(this, img);
1182 return mGraphics.drawImage(img, dx1, dy1, dx2, dy2,
1215 * @param img the specified image to be drawn
1241 public boolean drawImage(Image img,
1247 if (img == null) {
1255 mPrintMetrics.drawImage(this, img);
1257 return mGraphics.drawImage(img, dx1, dy1, dx2, dy2,
1273 * @param img The image to be drawn.
1281 public void drawRenderedImage(RenderedImage img,
1284 if (img == null) {
1288 mPrintMetrics.drawImage(this, img);
1293 public void drawRenderableImage(RenderableImage img,
1296 if (img == null) {
1300 mPrintMetrics.drawImage(this, img);
1374 * @param img The image to be drawn.
1384 public boolean drawImage(Image img,
1388 if (img == null) {
1393 mPrintMetrics.drawImage(this, img);
1395 return mGraphics.drawImage(img, xform, obs);
1401 // Point2D rightBottom = new Point2D.Double(getImageWidth(img),
1402 // getImageHeight(img));
1419 * img1 = op.filter(img, null);
1423 * @param img The BufferedImage to be drawn.
1431 public void drawImage(BufferedImage img,
1436 if (img == null) {
1440 mPrintMetrics.drawImage(this, (RenderedImage) img);
1822 public synchronized boolean imageUpdate(Image img, int infoFlags,
1836 private synchronized int getImageWidth(Image img) {
1841 while (img.getWidth(this) == -1) {
1849 return img.getWidth(this);
1852 private synchronized int getImageHeight(Image img) {
1857 while (img.getHeight(this) == -1) {
1865 return img.getHeight(this);
1870 * until 'img's width and height are available.
1878 ImageWaiter(Image img) {
1879 waitForDimensions(img);
1890 synchronized private void waitForDimensions(Image img) {
1891 mHeight = img.getHeight(this);
1892 mWidth = img.getWidth(this);
1899 mHeight = img.getHeight(this);
1900 mWidth = img.getWidth(this);