Lines Matching defs:image

30 import java.awt.image.VolatileImage;
109 // Swing internally is migrating to use *only* the volatile image buffer.
293 // volatile image we immediately punt in subclasses. If this
988 * The image returned will be an instance of VolatileImage, or null
994 * @see java.awt.image.VolatileImage
1024 VolatileImage image = volatileMap.get(config);
1025 if (image == null || image.getWidth() < width ||
1026 image.getHeight() < height) {
1027 if (image != null) {
1028 image.flush();
1030 image = config.createCompatibleVolatileImage(width, height,
1032 volatileMap.put(config, image);
1034 return image;
1061 if (doubleBuffer.needsReset || (doubleBuffer.image != null &&
1065 if (doubleBuffer.image != null) {
1066 doubleBuffer.image.flush();
1067 doubleBuffer.image = null;
1073 Image result = doubleBuffer.image;
1075 if (doubleBuffer.image == null) {
1080 doubleBuffer.image = result;
1085 // (indirectly through the Image) by stashing the image.
1106 if (standardDoubleBuffer != null && standardDoubleBuffer.image != null) {
1107 if (standardDoubleBuffer.image.getWidth(null) > width ||
1108 standardDoubleBuffer.image.getHeight(null) > height) {
1109 standardDoubleBuffer.image.flush();
1110 standardDoubleBuffer.image = null;
1117 VolatileImage image = volatileMap.get(gc);
1118 if (image.getWidth() > width || image.getHeight() > height) {
1119 image.flush();
1196 Image image = volatileMap.remove(gc);
1197 if (image != null) {
1198 image.flush();
1440 VolatileImage vImage = (java.awt.image.VolatileImage)offscreen;
1450 vImage = (java.awt.image.VolatileImage)offscreen;
1508 protected void paintDoubleBuffered(JComponent c, Image image,
1511 Graphics osg = image.getGraphics();
1512 int bw = Math.min(clipW, image.getWidth(null));
1513 int bh = Math.min(clipH, image.getHeight(null));
1536 g2d.drawImage(image, x, y, c);
1539 g.drawImage(image, x, y, c);
1550 * If <code>image</code> is non-null with a positive size it
1553 private Image getValidImage(Image image) {
1554 if (image != null && image.getWidth(null) > 0 &&
1555 image.getHeight(null) > 0) {
1556 return image;
1595 public Image image;