Lines Matching defs:img

1130     protected BufferedImage getBufferedImage(Image img) {
1131 if (img instanceof BufferedImage) {
1133 return (BufferedImage)img;
1134 } else if (img instanceof ToolkitImage) {
1138 return ((ToolkitImage)img).getBufferedImage();
1139 } else if (img instanceof VolatileImage) {
1142 return ((VolatileImage)img).getSnapshot();
1341 * @param img The image to be drawn.
1342 * This method does nothing if <code>img</code> is null.
1362 drawImageToPlatform(Image img, AffineTransform xform,
1383 * @param img the specified image to be drawn.
1393 public boolean drawImage(Image img, int x, int y,
1396 return drawImage(img, x, y, null, observer);
1421 * @param img the specified image to be drawn.
1433 public boolean drawImage(Image img, int x, int y,
1437 return drawImage(img, x, y, width, height, null, observer);
1460 * @param img the specified image to be drawn.
1461 * This method does nothing if <code>img</code> is null.
1477 public boolean drawImage(Image img, int x, int y,
1481 if (img == null) {
1486 int srcWidth = img.getWidth(null);
1487 int srcHeight = img.getHeight(null);
1492 result = drawImage(img, x, y, srcWidth, srcHeight, bgcolor, observer);
1523 * @param img the specified image to be drawn.
1524 * This method does nothing if <code>img</code> is null.
1538 public boolean drawImage(Image img, int x, int y,
1543 if (img == null) {
1548 int srcWidth = img.getWidth(null);
1549 int srcHeight = img.getHeight(null);
1554 result = drawImage(img,
1586 * @param img the specified image to be drawn
1610 public boolean drawImage(Image img,
1615 return drawImage(img,
1648 * @param img the specified image to be drawn
1649 * This method does nothing if <code>img</code> is null.
1675 public boolean drawImage(Image img,
1681 if (img == null) {
1684 int imgWidth = img.getWidth(null);
1685 int imgHeight = img.getHeight(null);
1757 return drawImageToPlatform(img, xForm, bgcolor,
1773 * @param img The image to be drawn.
1774 * This method does nothing if <code>img</code> is null.
1784 public boolean drawImage(Image img,
1788 if (img == null) {
1793 int srcWidth = img.getWidth(null);
1794 int srcHeight = img.getHeight(null);
1799 result = drawImageToPlatform(img, xform, null,
1811 * img1 = op.filter(img, null);
1815 * @param img The BufferedImage to be drawn.
1816 * This method does nothing if <code>img</code> is null.
1824 public void drawImage(BufferedImage img,
1829 if (img == null) {
1833 int srcWidth = img.getWidth(null);
1834 int srcHeight = img.getHeight(null);
1837 img = op.filter(img, null);
1843 drawImageToPlatform(img, xform, null,
1859 * @param img The image to be drawn.
1860 * This method does nothing if <code>img</code> is null.
1868 public void drawRenderedImage(RenderedImage img,
1871 if (img == null) {
1876 int srcWidth = img.getWidth();
1877 int srcHeight = img.getHeight();
1883 if (img instanceof BufferedImage) {
1884 bufferedImage = (BufferedImage) img;
1889 imageGraphics.drawRenderedImage(img, xform);