sun.awt.image.OffScreenImage Java Examples
The following examples show how to use
sun.awt.image.OffScreenImage.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: X11GraphicsConfig.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { // As of 1.7 we no longer create pmoffscreens here... ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #2
Source File: X11GraphicsConfig.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { // As of 1.7 we no longer create pmoffscreens here... ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #3
Source File: CGLGraphicsConfig.java From hottub with GNU General Public License v2.0 | 5 votes |
@Override public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #4
Source File: Win32GraphicsConfig.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Creates a new managed image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #5
Source File: GLXGraphicsConfig.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ @Override public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #6
Source File: X11GraphicsConfig.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { // As of 1.7 we no longer create pmoffscreens here... ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #7
Source File: CGLGraphicsConfig.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
@Override public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #8
Source File: Win32GraphicsConfig.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Creates a new managed image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #9
Source File: GLXGraphicsConfig.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ @Override public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #10
Source File: X11GraphicsConfig.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { // As of 1.7 we no longer create pmoffscreens here... ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #11
Source File: CGLGraphicsConfig.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
@Override public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #12
Source File: Win32GraphicsConfig.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Creates a new managed image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #13
Source File: GLXGraphicsConfig.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ @Override public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #14
Source File: GLXGraphicsConfig.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ @Override public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #15
Source File: CGLGraphicsConfig.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
@Override public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #16
Source File: Win32GraphicsConfig.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
/** * Creates a new managed image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #17
Source File: GLXGraphicsConfig.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ @Override public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #18
Source File: X11GraphicsConfig.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { // As of 1.7 we no longer create pmoffscreens here... ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #19
Source File: CGLGraphicsConfig.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
@Override public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #20
Source File: Win32GraphicsConfig.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
/** * Creates a new managed image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #21
Source File: GLXGraphicsConfig.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ @Override public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #22
Source File: X11GraphicsConfig.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { // As of 1.7 we no longer create pmoffscreens here... ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #23
Source File: CGLGraphicsConfig.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
@Override public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #24
Source File: Win32GraphicsConfig.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
/** * Creates a new managed image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #25
Source File: GLXGraphicsConfig.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ @Override public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #26
Source File: X11GraphicsConfig.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { // As of 1.7 we no longer create pmoffscreens here... ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #27
Source File: Win32GraphicsConfig.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Creates a new managed image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #28
Source File: Win32GraphicsConfig.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
/** * Creates a new managed image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #29
Source File: GLXGraphicsConfig.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ @Override public Image createAcceleratedImage(Component target, int width, int height) { ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }
Example #30
Source File: X11GraphicsConfig.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
/** * Creates a new hidden-acceleration image of the given width and height * that is associated with the target Component. */ public Image createAcceleratedImage(Component target, int width, int height) { // As of 1.7 we no longer create pmoffscreens here... ColorModel model = getColorModel(Transparency.OPAQUE); WritableRaster wr = model.createCompatibleWritableRaster(width, height); return new OffScreenImage(target, model, wr, model.isAlphaPremultiplied()); }