/openjdk10/jdk/src/java.desktop/share/native/libmlib_image/ |
H A D | mlib_image_get.h | 35 static mlib_type mlib_ImageGetType(const mlib_image *img) argument 37 return img->type; 40 static mlib_s32 mlib_ImageGetChannels(const mlib_image *img) argument 42 return img->channels; 45 static mlib_s32 mlib_ImageGetWidth(const mlib_image *img) argument 47 return img->width; 50 static mlib_s32 mlib_ImageGetHeight(const mlib_image *img) argument 52 return img->height; 55 static mlib_s32 mlib_ImageGetStride(const mlib_image *img) argument 57 return img 60 mlib_ImageGetData(const mlib_image *img) argument 65 mlib_ImageGetFlags(const mlib_image *img) argument 70 mlib_ImageGetPaddings(const mlib_image *img) argument 75 mlib_ImageGetBitOffset(const mlib_image *img) argument 80 mlib_ImageGetFormat(const mlib_image *img) argument 86 mlib_ImageTestFlags(const mlib_image *img, mlib_s32 flags) argument 92 mlib_ImageIsNotAligned64(const mlib_image *img) argument 98 mlib_ImageIsNotAligned8(const mlib_image *img) argument 104 mlib_ImageIsNotAligned4(const mlib_image *img) argument 110 mlib_ImageIsNotAligned2(const mlib_image *img) argument 116 mlib_ImageIsNotWidth8X(const mlib_image *img) argument 122 mlib_ImageIsNotWidth4X(const mlib_image *img) argument 128 mlib_ImageIsNotWidth2X(const mlib_image *img) argument 134 mlib_ImageIsNotHeight8X(const mlib_image *img) argument 140 mlib_ImageIsNotHeight4X(const mlib_image *img) argument 146 mlib_ImageIsNotHeight2X(const mlib_image *img) argument 152 mlib_ImageIsNotStride8X(const mlib_image *img) argument 158 mlib_ImageIsNotOneDvector(const mlib_image *img) argument 164 mlib_ImageIsUserAllocated(const mlib_image *img) argument [all...] |
H A D | mlib_ImageRowTable.h | 37 static void *mlib_ImageGetRowTable(mlib_image *img) argument 39 return img->state;
|
H A D | mlib_ImageConvClearEdge_Fp.c | 33 * mlib_status mlib_c_ImageConvClearEdge_Fp(mlib_image *img, 42 * img Pointer to an image. 57 * img can have 1, 2, 3 or 4 channels of MLIB_FLOAT or MLIB_DOUBLE 73 type *pimg = (type *) mlib_ImageGetData(img); \ 75 mlib_s32 img_stride = mlib_ImageGetStride(img) / sizeof(type); \ 111 mlib_status mlib_ImageConvClearEdge_Fp(mlib_image *img, argument 119 mlib_s32 img_width = mlib_ImageGetWidth(img); 120 mlib_s32 img_height = mlib_ImageGetHeight(img); 121 mlib_s32 channel = mlib_ImageGetChannels(img); 135 switch (mlib_ImageGetType(img)) { [all...] |
/openjdk10/jdk/src/java.desktop/unix/native/libawt/java2d/loops/ |
H A D | mlib_v_ImageClear.c | 32 * mlib_status mlib_ImageClear(mlib_image *img, 36 * img Pointer to an image. 40 * img can have 1, 2, 3 or 4 channels of MLIB_BIT, MLIB_BYTE, 71 mlib_status __mlib_ImageClear(mlib_image *img, argument 74 MLIB_IMAGE_CHECK(img); 76 switch (mlib_ImageGetType(img)) { 79 switch (mlib_ImageGetChannels(img)) { 82 mlib_v_ImageClear_BIT_1(img, color); 86 mlib_v_ImageClear_BIT_2(img, color); 90 mlib_v_ImageClear_BIT_3(img, colo [all...] |
H A D | mlib_v_ImageClear_f.h | 37 void mlib_v_ImageClear_BIT_1(mlib_image *img, 40 void mlib_v_ImageClear_BIT_2(mlib_image *img, 43 void mlib_v_ImageClear_BIT_3(mlib_image *img, 46 void mlib_v_ImageClear_BIT_4(mlib_image *img, 49 void mlib_v_ImageClear_U8_1(mlib_image *img, 52 void mlib_v_ImageClear_U8_2(mlib_image *img, 55 void mlib_v_ImageClear_U8_3(mlib_image *img, 58 void mlib_v_ImageClear_U8_4(mlib_image *img, 61 void mlib_v_ImageClear_S16_1(mlib_image *img, 64 void mlib_v_ImageClear_S16_2(mlib_image *img, [all...] |
/openjdk10/jdk/test/java/awt/Component/PrintAllXcheckJNI/ |
H A D | PrintAllXcheckJNI.java | 43 BufferedImage img = new BufferedImage(frame.getWidth(), 46 Graphics2D g = img.createGraphics(); 51 img.flush();
|
/openjdk10/jdk/test/javax/swing/JTree/8072676/ |
H A D | TreeClipTest.java | 43 static boolean checkImage(BufferedImage img, int clipY) { argument 44 for (int y = clipY; y < img.getHeight(); y++) { 45 for (int x = 0; x < img.getWidth(); x++) { 46 if ((img.getRGB(x,y) & 0xFFFFFF) != 0xFFFFFF) { 67 BufferedImage img = new BufferedImage(50, 50, BufferedImage.TYPE_INT_ARGB); 69 Graphics2D ig = img.createGraphics(); 77 if (!checkImage(img, clipY)) { 81 ImageIO.write(img, "PNG", new File("failedResult.png"));
|
/openjdk10/jdk/test/javax/swing/JSlider/8162856/ |
H A D | MetalHiDPISliderThumbTest.java | 77 final BufferedImage img = new BufferedImage(sw, sh, BufferedImage.TYPE_INT_RGB); 79 Graphics2D g = img.createGraphics(); 88 int rgb = img.getRGB(xMin, y); 90 if (img.getRGB(i, y) != rgb) { 97 rgb = img.getRGB(xMax, y); 99 if (img.getRGB(i, y) != rgb) { 107 rgb = img.getRGB(xc, y); 110 if (img.getRGB(x, y) != rgb) { 118 int rgb = img.getRGB(x, yMin); 120 if (img [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/nimbus/ |
H A D | TableScrollPaneCorner.java | 60 BufferedImage img = new BufferedImage(getWidth(),getHeight(), 62 Graphics2D g2 = (Graphics2D)img.getGraphics(); 65 g.drawImage(img,0,0,null); 66 img = null;
|
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/opengl/ |
H A D | OGLBufImgOps.java | 50 static boolean renderImageWithOp(SunGraphics2D sg, BufferedImage img, argument 60 if (!isRescaleOpValid((RescaleOp)biop, img)) { 64 if (!isLookupOpValid((LookupOp)biop, img)) { 81 dstData.getSourceSurfaceData(img, SunGraphics2D.TRANSFORM_ISIDENT, 86 dstData.getSourceSurfaceData(img, SunGraphics2D.TRANSFORM_ISIDENT, 103 int sw = img.getWidth(); 104 int sh = img.getHeight(); 106 img, biop,
|
H A D | OGLDrawImage.java | 43 protected void renderImageXform(SunGraphics2D sg, Image img, argument 62 dstData.getSourceSurfaceData(img, 89 super.renderImageXform(sg, img, tx, interpType, 94 public void transformImage(SunGraphics2D sg, BufferedImage img, argument 100 transformImage(sg, img, x, y, 105 if (OGLBufImgOps.renderImageWithOp(sg, img, op, x, y)) { 109 img = op.filter(img, null); 111 copyImage(sg, img, x, y, null);
|
/openjdk10/jdk/src/java.desktop/windows/classes/sun/java2d/d3d/ |
H A D | D3DBufImgOps.java | 50 static boolean renderImageWithOp(SunGraphics2D sg, BufferedImage img, argument 60 if (!isRescaleOpValid((RescaleOp)biop, img)) { 64 if (!isLookupOpValid((LookupOp)biop, img)) { 81 dstData.getSourceSurfaceData(img, SunGraphics2D.TRANSFORM_ISIDENT, 86 dstData.getSourceSurfaceData(img, SunGraphics2D.TRANSFORM_ISIDENT, 104 int sw = img.getWidth(); 105 int sh = img.getHeight(); 107 img, biop,
|
H A D | D3DDrawImage.java | 43 protected void renderImageXform(SunGraphics2D sg, Image img, argument 55 dstData.getSourceSurfaceData(img, 77 super.renderImageXform(sg, img, tx, interpType, 82 public void transformImage(SunGraphics2D sg, BufferedImage img, argument 88 transformImage(sg, img, x, y, 93 if (D3DBufImgOps.renderImageWithOp(sg, img, op, x, y)) { 97 img = op.filter(img, null); 99 copyImage(sg, img, x, y, null);
|
/openjdk10/jdk/test/sun/java2d/cmm/ColorConvertOp/ |
H A D | AlphaTest.java | 71 BufferedImage img = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB); 73 Graphics2D g = img.createGraphics(); 78 return img; 82 BufferedImage img = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB); 84 Graphics2D g = img.createGraphics(); 89 return img; 92 private static int getAlpha(BufferedImage img) { argument 93 int argb = img.getRGB(w / 2, h / 2);
|
/openjdk10/jdk/test/javax/imageio/plugins/jpeg/ |
H A D | CanEncodeIndexed.java | 41 BufferedImage img = new BufferedImage(32, 32, 45 ImageTypeSpecifier.createFromRenderedImage(img);
|
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/ |
H A D | CPrinterGraphics.java | 46 public boolean drawImage(Image img, int x, int y, argument 52 return getDelegate().drawImage(img, x, y, bgcolor, observer); 55 public boolean drawImage(Image img, int x, int y, argument 62 return getDelegate().drawImage(img, x, y, width, height, bgcolor, observer); 65 public boolean drawImage(Image img, argument 73 return getDelegate().drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, bgcolor, observer);
|
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/pipe/ |
H A D | DrawImagePipe.java | 57 public boolean copyImage(SunGraphics2D sg, Image img, argument 62 public boolean copyImage(SunGraphics2D sg, Image img, argument 67 public boolean scaleImage(SunGraphics2D sg, Image img, int x, int y, argument 72 public boolean scaleImage(SunGraphics2D sg, Image img, argument 78 public boolean transformImage(SunGraphics2D sg, Image img, argument 82 public void transformImage(SunGraphics2D sg, BufferedImage img, argument
|
/openjdk10/jdk/test/java/awt/geom/Path2D/ |
H A D | FillPPathTest.java | 58 BufferedImage img = new BufferedImage(IMG_WIDTH, IMG_HEIGHT, 60 Graphics2D g2d = img.createGraphics(); 66 if (img.getRGB(60, 20) != Color.BLACK.getRGB()) { 70 img = createCustomImage(); 72 g2d = img.createGraphics(); 78 if (img.getRGB(60, 20) != Color.BLACK.getRGB()) {
|
/openjdk10/jdk/test/sun/java2d/ |
H A D | XRenderBlitsTest.java | 55 BufferedImage img = new BufferedImage(w, h, type++); 56 Graphics2D g2d = img.createGraphics(); 61 images.add(img); 75 for (BufferedImage img : images) { 76 System.out.println("Draw image " + img.getType()); 77 g.drawImage(img, x, 0, this);
|
/openjdk10/nashorn/test/script/jfx/ |
H A D | flyingimage.js | 41 var img = new Image(imageUrl);
52 var msc= 0.5 * HEIGHT / img.height;
58 var sc = 30 / img.height + msc * yh * yh;
61 gc.drawImage(img, -img.width / 2, -img.height / 2);
|
/openjdk10/jdk/test/java/awt/image/DrawImage/ |
H A D | ScaledImageAlphaTest.java | 80 BufferedImage img = new 82 Graphics2D imgGraphics = (Graphics2D)img.getGraphics(); 88 drawImage(img, scaleX, scaleY, scaleWidth, scaleHeight, 95 extractedColor = new Color(img.getRGB(scaleX, scaleY), true); 104 VolatileImage img; 110 img = createVolatileImage(width, height, 112 Graphics2D imgGraphics = (Graphics2D)img.getGraphics(); 122 drawImage(img, scaleX, scaleY, scaleWidth, scaleHeight, 125 bufImg = img.getSnapshot(); 127 } while (img [all...] |
/openjdk10/jdk/src/java.desktop/share/native/common/awt/medialib/ |
H A D | mlib_ImageCreate.c | 55 * void mlib_ImageDelete(mlib_image *img) 57 * mlib_image *mlib_ImageCreateSubimage(mlib_image *img, 63 * void *mlib_ImageCreateRowTable(mlib_image *img) 65 * void mlib_ImageDeleteRowTable(mlib_image *img) 67 * mlib_status mlib_ImageSetPaddings(mlib_image *img, 73 * mlib_status mlib_ImageSetFormat(mlib_image *img, 76 * img pointer to image data structure 355 void mlib_ImageDelete(mlib_image *img) argument 357 if (img == NULL) return; 358 if ((img 367 mlib_ImageCreateSubimage(mlib_image *img, mlib_s32 x, mlib_s32 y, mlib_s32 w, mlib_s32 h) argument 511 mlib_ImageCreateRowTable(mlib_image *img) argument 539 mlib_ImageDeleteRowTable(mlib_image *img) argument 553 mlib_ImageSetPaddings(mlib_image *img, mlib_u8 left, mlib_u8 top, mlib_u8 right, mlib_u8 bottom) argument 573 mlib_ImageSetFormat(mlib_image *img, mlib_format format) argument [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/sun/print/ |
H A D | PeekGraphics.java | 937 * @param img the specified image to be drawn. 947 public boolean drawImage(Image img, int x, int y, argument 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, argument 1004 if (img == null) { 1008 mPrintMetrics.drawImage(this, img); 1045 drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer) argument 1104 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument 1167 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) argument 1241 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) argument 1281 drawRenderedImage(RenderedImage img, AffineTransform xform) argument 1293 drawRenderableImage(RenderableImage img, AffineTransform xform) argument 1385 drawImage(Image img, AffineTransform xform, ImageObserver obs) argument 1432 drawImage(BufferedImage img, BufferedImageOp op, int x, int y) argument 1821 imageUpdate(Image img, int infoFlags, int x, int y, int width, int height) argument 1835 getImageWidth(Image img) argument 1851 getImageHeight(Image img) argument 1877 ImageWaiter(Image img) argument 1889 waitForDimensions(Image img) argument [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/sun/awt/image/ |
H A D | SurfaceManager.java | 55 public abstract SurfaceManager getSurfaceManager(Image img); argument 56 public abstract void setSurfaceManager(Image img, SurfaceManager mgr); argument 71 public static SurfaceManager getManager(Image img) { argument 72 SurfaceManager sMgr = imgaccessor.getSurfaceManager(img); 78 BufferedImage bi = (BufferedImage) img; 88 public static void setManager(Image img, SurfaceManager mgr) { argument 89 imgaccessor.setSurfaceManager(img, mgr); 197 // Note that when img.getAccelerationPriority() gets set to 0 298 public static double getImageScaleX(final Image img) { argument 299 if (!(img instanceo 312 getImageScaleY(final Image img) argument [all...] |
/openjdk10/jdk/test/javax/imageio/plugins/gif/ |
H A D | GifTransparencyTest.java | 150 BufferedImage img; field in class:GifTransparencyTest.ImageComponent 152 public ImageComponent(BufferedImage img) { argument 153 this.img = img; 157 return new Dimension(img.getWidth() + 2, img.getHeight() + 2); 161 g.drawImage(img, 1, 1, this); 166 BufferedImage img = new BufferedImage(200, 200, 168 Graphics g = img.createGraphics(); 174 return img; [all...] |