/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | NullPipe.java | 122 public boolean copyImage(SunGraphics2D sg, Image img, argument 128 public boolean copyImage(SunGraphics2D sg, Image img, argument 134 public boolean scaleImage(SunGraphics2D sg, Image img, int x, int y, argument 140 public boolean scaleImage(SunGraphics2D sg, Image img, argument 147 public boolean transformImage(SunGraphics2D sg, Image img, argument 152 public void transformImage(SunGraphics2D sg, BufferedImage img, argument
|
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | ProxyGraphics.java | 811 * @param img the specified image to be drawn. 820 public boolean drawImage(Image img, int x, int y, argument 822 return g.drawImage(img, x, y, observer); 847 * @param img the specified image to be drawn. 858 public boolean drawImage(Image img, int x, int y, argument 861 return g.drawImage(img, x, y, width, height, observer); 883 * @param img the specified image to be drawn. 894 public boolean drawImage(Image img, int x, int y, argument 897 return g.drawImage(img, x, y, bgcolor, observer); 925 * @param img th 938 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument 993 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) argument 1056 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) argument [all...] |
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_ImageConvClearEdge_Bit.c | 33 * mlib_status mlib_ImageConvClearEdge_Bit(mlib_image *img, 42 * img Pointer to an image. 57 * img can have 1 channels of MLIB_BIT data type. 70 mlib_status mlib_ImageConvClearEdge_Bit(mlib_image *img, argument 78 mlib_u8 *pimg = mlib_ImageGetData(img), *pd; 79 mlib_s32 img_height = mlib_ImageGetHeight(img); 80 mlib_s32 img_width = mlib_ImageGetWidth(img); 81 mlib_s32 img_stride = mlib_ImageGetStride(img); 82 mlib_s32 bitoff = mlib_ImageGetBitOffset(img); 88 if ((mlib_ImageGetType(img) ! [all...] |
H A D | mlib_ImageConvEdge.h | 34 mlib_status mlib_ImageConvClearEdge_Bit(mlib_image *img, 50 mlib_status mlib_ImageConvClearEdge_Fp(mlib_image *img,
|
H A D | mlib_image_proto.h | 455 mlib_status __mlib_ImageDivAlpha_Fp_Inp(mlib_image *img, 462 mlib_status __mlib_ImageDivAlpha_Inp(mlib_image *img, 673 mlib_status __mlib_ImageMulAlpha_Fp_Inp(mlib_image *img, 680 mlib_status __mlib_ImageMulAlpha_Inp(mlib_image *img, 1084 mlib_image * __mlib_ImageCreateSubimage(mlib_image *img, 1095 void __mlib_ImageDelete(mlib_image *img); 1101 mlib_status __mlib_ImageSetPaddings(mlib_image *img, 1111 mlib_status __mlib_ImageSetFormat(mlib_image *img, 1118 static mlib_type __mlib_ImageGetType(const mlib_image *img); 1124 static mlib_s32 __mlib_ImageGetChannels(const mlib_image *img); [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaImageFactory.java | 315 public SlicedImageControl(final Image img, final int westCut, final int eastCut, final int northCut, final int southCut) { argument 316 this(img, westCut, eastCut, northCut, southCut, true); 319 public SlicedImageControl(final Image img, final int westCut, final int eastCut, final int northCut, final int southCut, final boolean useMiddle) { argument 320 this(img, westCut, eastCut, northCut, southCut, useMiddle, true, true); 323 public SlicedImageControl(final Image img, final int westCut, final int eastCut, final int northCut, final int southCut, final boolean useMiddle, final boolean stretchHorizontally, final boolean stretchVertically) { argument 324 this(img, new NineSliceMetrics(img.getWidth(null), img.getHeight(null), westCut, eastCut, northCut, southCut, useMiddle, stretchHorizontally, stretchVertically)); 327 public SlicedImageControl(final Image img, final NineSliceMetrics metrics) { argument 330 if (img 350 createSlice(final Image img, final int x, final int y, final int w, final int h) argument [all...] |
H A D | AquaPainter.java | 158 BufferedImage img = (BufferedImage) cache.getImage(config, imgW, imgH, scale, controlState); 159 if (img == null) { 160 img = new BufferedImage(imgW, imgH, BufferedImage.TYPE_INT_ARGB_PRE); 161 cache.setImage(img, config, imgW, imgH, scale, controlState); 162 final WritableRaster raster = img.getRaster(); 171 g.drawImage(img, bounds.x, bounds.y, bounds.width, bounds.height, null);
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/ |
H A D | Destinations.java | 227 Image img; field in class:Destinations.BufImg 273 if (img == null) { 274 img = new BufferedImage(env.getWidth(), env.getHeight(), type); 276 env.setTestImage(img); 281 private Image img; field in class:Destinations.CustomImg 295 if (img == null) { 304 img = new BufferedImage(cm, raster, false, null); 306 env.setTestImage(img);
|
/openjdk7/jdk/test/javax/imageio/plugins/png/ |
H A D | MergeStdCommentTest.java | 45 BufferedImage img = 49 iw.getDefaultImageMetadata(new ImageTypeSpecifier(img), null);
|
H A D | PngOutputTypeTest.java | 119 BufferedImage img = reader.read(0, param); 120 System.out.println("Result type: " + img.getType()); 122 compare(def, img); 232 BufferedImage img = new BufferedImage(w, h, type); 239 img.setRGB(x, y, colors[i].getRGB()); 247 ImageIO.write(img, "PNG", out);
|
/openjdk7/jdk/test/sun/java2d/DirectX/ |
H A D | DrawBitmaskToSurfaceTest.java | 57 BufferedImage img = new BufferedImage(100, 100, 60 return img;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/ |
H A D | ImageDataContentHandler.java | 150 log.severe("SAAJ0525.soap.cannot.encode.img"); 157 private BufferedImage render(Image img) throws InterruptedException { argument 160 tracker.addImage(img, 0); 162 BufferedImage bufImage = new BufferedImage(img.getWidth(null), 163 img.getHeight(null), BufferedImage.TYPE_INT_RGB); 165 g.drawImage(img, 0, 0, null);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | DebugGraphics.java | 1000 public boolean drawImage(Image img, int x, int y, argument 1006 " Drawing image: " + img + 1014 debugGraphics.drawImage(img, x, y, observer); 1019 ImageProducer oldProducer = img.getSource(); 1030 imageToDraw = (i % 2) == 0 ? newImage : img; 1038 return graphics.drawImage(img, x, y, observer); 1044 public boolean drawImage(Image img, int x, int y, int width, int height, argument 1050 " Drawing image: " + img + 1058 debugGraphics.drawImage(img, x, y, width, height, observer); 1063 ImageProducer oldProducer = img 1088 drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer) argument 1134 drawImage(Image img, int x, int y,int width, int height, Color bgcolor, ImageObserver observer) argument 1181 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) argument 1231 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) argument 1280 loadImage(Image img) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/ |
H A D | SunGraphics2D.java | 2510 private static Rectangle getImageRegion(RenderedImage img, argument 2516 new Rectangle(img.getMinX(), img.getMinY(), 2517 img.getWidth(), img.getHeight()); 2578 * @param img The image to be drawn. Does nothing if img is null. 2586 public void drawRenderedImage(RenderedImage img, argument 2589 if (img == null) { 2594 if (img instanceo 2722 drawTranslatedRenderedImage(RenderedImage img, Rectangle region, int i2uTransX, int i2uTransY) argument 2806 drawRenderableImage(RenderableImage img, AffineTransform xform) argument 3022 isHiDPIImage(final Image img) argument 3026 drawHiDPIImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) argument 3057 drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) argument 3070 copyImage(Image img, int dx, int dy, int sx, int sy, int width, int height, Color bgcolor, ImageObserver observer) argument 3096 drawImage(Image img, int x, int y, int width, int height, Color bg, ImageObserver observer) argument 3140 drawImage(Image img, int x, int y, ImageObserver observer) argument 3148 drawImage(Image img, int x, int y, Color bg, ImageObserver observer) argument 3183 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) argument 3195 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) argument 3281 drawImage(Image img, AffineTransform xform, ImageObserver observer) argument [all...] |
H A D | HeadlessGraphicsEnvironment.java | 88 public Graphics2D createGraphics(BufferedImage img) { argument 89 return ge.createGraphics(img); }
|
/openjdk7/jdk/test/java/awt/image/ConvolveOp/ |
H A D | OpCompatibleImageTest.java | 97 BufferedImage img = new BufferedImage(100, 100, type); 98 Graphics g = img.createGraphics(); 103 return img;
|
/openjdk7/jdk/test/java/awt/image/mlib/ |
H A D | MlibOpsTest.java | 118 BufferedImage img = createImage(); 120 Graphics2D g = img.createGraphics(); 131 return img;
|
/openjdk7/jdk/test/javax/imageio/plugins/jpeg/ |
H A D | ConcurrentReadingTest.java | 103 BufferedImage img = new 105 Graphics2D g = img.createGraphics(); 118 boolean b = ImageIO.write(img, "JPEG", file);
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Graphics2D.java | 537 * @param img the specified image to be rendered. 538 * This method does nothing if <code>img</code> is null. 552 public abstract boolean drawImage(Image img, argument 564 * img1 = op.filter(img, null); 568 * @param img the specified <code>BufferedImage</code> to be rendered. 569 * This method does nothing if <code>img</code> is null. 581 public abstract void drawImage(BufferedImage img, argument 598 * @param img the image to be rendered. This method does 599 * nothing if <code>img</code> is null. 607 public abstract void drawRenderedImage(RenderedImage img, argument 641 drawRenderableImage(RenderableImage img, AffineTransform xform) argument [all...] |
H A D | Graphics.java | 870 * @param img the specified image to be drawn. This method does 871 * nothing if <code>img</code> is null. 882 public abstract boolean drawImage(Image img, int x, int y, argument 907 * @param img the specified image to be drawn. This method does 908 * nothing if <code>img</code> is null. 921 public abstract boolean drawImage(Image img, int x, int y, argument 949 * @param img the specified image to be drawn. This method does 950 * nothing if <code>img</code> is null. 963 public abstract boolean drawImage(Image img, int x, int y, argument 992 * @param img th 1008 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument 1063 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) argument 1124 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) argument [all...] |
/openjdk7/jdk/src/share/classes/java/awt/peer/ |
H A D | ComponentPeer.java | 414 * @param img the image to prepare 424 boolean prepareImage(Image img, int w, int h, ImageObserver o); argument 430 * @param img the image to check 439 int checkImage(Image img, int w, int h, ImageObserver o); argument
|
/openjdk7/jdk/src/share/demo/applets/DitherTest/ |
H A D | DitherTest.java | 260 Image img = calculateImage(); 261 if (img != null && runner == Thread.currentThread()) { 262 canvas.setImage(img); 299 private Image img; field in class:DitherCanvas 306 if (img == null) { 314 g.drawImage(img, 0, 0, w, h, this); 334 return img; 337 public void setImage(Image img) { argument 338 this.img = img; [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XIconWindow.java | 216 void replaceImage(Image img) argument 225 if (img != null && iconWidth != 0 && iconHeight != 0) { 239 g.drawImage(img, 0, 0, iconWidth, iconHeight, null); 337 void replaceMask(Image img) { argument 343 if (img != null && iconWidth != 0 && iconHeight != 0) { 347 g.drawImage(img, 0, 0, iconWidth, iconHeight, null); 427 void setIconImage(Image img) { argument 428 if (img == null) { 436 if (img instanceof ToolkitImage) { 437 ImageRepresentation ir = ((ToolkitImage)img) [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | ImageView.java | 196 Image img = getImage(); 199 disabledImage = GrayFilter.createDisabledImage(img); 201 img = disabledImage; 203 return img; 363 Image img = getImage(host == null || host.isEnabled()); 364 if (img != null) { 365 if (! hasPixels(img)) { 375 g.drawImage(img, rect.x + leftInset, rect.y + topInset, 864 public boolean imageUpdate(Image img, int flags, int x, int y, argument 866 if (img ! [all...] |
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/ |
H A D | InputImageTests.java | 329 Image img = tk.createImage(filename); 330 mt.addImage(img, 0); 332 mt.removeImage(img, 0); 341 Image img = tk.createImage((URL)input); 342 mt.addImage(img, 0); 344 mt.removeImage(img, 0); 353 Image img = tk.createImage((byte[])input); 354 mt.addImage(img, 0); 356 mt.removeImage(img, 0);
|