Searched defs:image (Results 201 - 223 of 223) sorted by relevance

123456789

/openjdk7/jdk/src/solaris/native/sun/awt/
H A DmultiVis.c32 to correctly pull an image of the window using XGetImage or the
279 this flags that it to be an image only list */
503 XImage *image; local
526 /* if transparency possible do it again, but this time for image planes only */
534 /* If you find one, subsitute the value from the matching image plane pixmap. */
555 image = XGetImage(disp, reg->win, srcRect_x, srcRect_y,
559 /* let's assume byte per pixel for overlay image for now */
560 if ((image->depth == 8) && (transparentType == TransparentPixel))
563 unsigned char *start_of_line = (unsigned char *) image->data;
590 start_of_line += image
[all...]
/openjdk7/jdk/test/java/awt/Graphics2D/RenderClipTest/
H A DRenderClipTest.java34 import java.awt.image.*;
1572 BufferedImage image; field in class:RenderClipTest.ImageCanvas
1575 this.image = img;
1579 return image;
1583 if (image == null ||
1584 image.getWidth() < w ||
1585 image.getHeight() < h)
1587 image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
1593 Graphics g = image.createGraphics();
1607 Graphics g = image
[all...]
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_check.c79 /* Read raw bytes from the file image, update the pointer */
1094 unsigned char *image; local
1109 image = HPROF_MALLOC(((jint)nbytes)+1);
1110 CHECK_FOR_ERROR(image!=NULL);
1112 /* Read the entire file image into memory */
1113 nread = md_read(fd, image, (jint)nbytes);
1120 return image;
1128 unsigned char *image; local
1134 image = get_binary_file_image(filename, &nbytes);
1135 if ( image
[all...]
/openjdk7/jdk/src/share/classes/sun/print/
H A DPeekGraphics.java56 import java.awt.image.BufferedImage;
57 import java.awt.image.BufferedImageOp;
58 import java.awt.image.ImageObserver;
59 import java.awt.image.RenderedImage;
60 import java.awt.image.renderable.RenderableImage;
555 * ensure that an offscreen image is cleared to a specific color.
923 * Draws as much of the specified image as is currently available.
924 * The image is drawn with its top-left corner at
926 * space. Transparent pixels in the image do not affect whatever
930 * complete image ha
1908 imageUpdate(Image image, int flags, int x, int y, int w, int h) argument
[all...]
H A DPSPrinterJob.java39 import java.awt.image.BufferedImage;
47 import java.awt.image.BufferedImage;
854 * Convert the 24 bit BGR image buffer represented by
855 * <code>image</code> to PostScript. The image is drawn at
857 * The image is scaled into a square of size
860 * source image copied into that square is specified
891 /* Scale and translate the unit image.
912 /* Skip the parts of the image that are not part
919 /* Skip the left part of the image tha
1614 swapBGRtoRGB(byte[] image, int index, byte[] dest) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/java2d/x11/
H A DX11SurfaceData.java37 import java.awt.image.BufferedImage;
38 import java.awt.image.ColorModel;
39 import java.awt.image.ComponentColorModel;
40 import java.awt.image.DirectColorModel;
41 import java.awt.image.IndexColorModel;
42 import java.awt.image.Raster;
50 import sun.awt.image.PixelConverter;
426 ColorModel cm, Image image,
430 return new X11PixmapSurfaceData(gc, width, height, image,
760 Image image,
424 createData(X11GraphicsConfig gc, int width, int height, ColorModel cm, Image image, long drawable, int transparency) argument
758 X11PixmapSurfaceData(X11GraphicsConfig gc, int width, int height, Image image, SurfaceType sType, ColorModel cm, long drawable, int transparency) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/datatransfer/
H A DDataTransferer.java94 import java.awt.image.BufferedImage;
95 import java.awt.image.ImageObserver;
96 import java.awt.image.RenderedImage;
97 import java.awt.image.WritableRaster;
98 import java.awt.image.ColorModel;
111 import sun.awt.image.ImageRepresentation;
112 import sun.awt.image.ToolkitImage;
1294 "not an image format");
1297 Image image = (Image)obj;
1298 byte[] bytes = imageToPlatformBytes(image, forma
2129 imageToPlatformBytes(Image image, long format) argument
2138 imageToStandardBytes(Image image, String mimeType) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DMetacity.java36 import java.awt.image.*;
577 protected void tileImage(Graphics g, Image image, int x0, int y0, int w, int h, float[] alphas) { argument
581 int sw = image.getWidth(null);
582 int sh = image.getHeight(null);
597 g.drawImage(image, x, y, x+swm, y+sh, 0, 0, swm, sh, null);
608 Image image = images.get(key+"-"+c.getRGB());
609 if (image == null) {
610 image = imageFilter.colorize(getImage(key), c);
611 if (image != null) {
612 images.put(key+"-"+c.getRGB(), image);
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DToolkit.java36 import java.awt.image.ImageObserver;
37 import java.awt.image.ImageProducer;
38 import java.awt.image.ColorModel;
621 * pixel values of an image and its red, green, blue,
631 * @see java.awt.image.ColorModel
903 * Returns an image which gets pixel data from the specified file,
914 * If the image data contained in the specified file changes,
918 * Previously loaded image data can be manually discarded by
925 * that the access to the image is allowed.
928 * @return an image whic
1056 prepareImage(Image image, int width, int height, ImageObserver observer) argument
1097 checkImage(Image image, int width, int height, ImageObserver observer) argument
[all...]
H A DWindow.java31 import java.awt.image.BufferStrategy;
32 import java.awt.image.BufferedImage;
696 * just a single image for all contexts or no image at all.
715 * Sets the image to be displayed as the icon for this window.
718 * to specify a single image as a window's icon.
722 * setIconImage(image);
727 * imageList.add(image);
734 * just a single image for all contexts or no image a
741 setIconImage(Image image) argument
[all...]
H A DComponent.java40 import java.awt.image.BufferStrategy;
41 import java.awt.image.ImageObserver;
42 import java.awt.image.ImageProducer;
43 import java.awt.image.ColorModel;
44 import java.awt.image.VolatileImage;
82 import sun.awt.image.VSyncedBSManager;
324 * @see java.awt.image.BufferStrategy
602 new GetPropertyAction("awt.image.incrementaldraw"));
606 new GetPropertyAction("awt.image.redrawrate"));
1536 * Returns true if this component is painted to an offscreen image
3620 prepareImage(Image image, ImageObserver observer) argument
3642 prepareImage(Image image, int width, int height, ImageObserver observer) argument
3678 checkImage(Image image, ImageObserver observer) argument
3714 checkImage(Image image, int width, int height, ImageObserver observer) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/
H A DJPEGImageReader.java45 import java.awt.image.BufferedImage;
46 import java.awt.image.Raster;
47 import java.awt.image.WritableRaster;
48 import java.awt.image.DataBuffer;
49 import java.awt.image.DataBufferByte;
50 import java.awt.image.ColorModel;
51 import java.awt.image.IndexColorModel;
52 import java.awt.image.ColorConvertOp;
124 * Image index of image for which header information
131 // if we are to read an image a
157 private BufferedImage image = null; field in class:JPEGImageReader
870 checkColorConversion(BufferedImage image, ImageReadParam param) argument
[all...]
H A DJPEGImageWriter.java44 import java.awt.image.Raster;
45 import java.awt.image.WritableRaster;
46 import java.awt.image.SampleModel;
47 import java.awt.image.DataBuffer;
48 import java.awt.image.DataBufferByte;
49 import java.awt.image.ColorModel;
50 import java.awt.image.IndexColorModel;
51 import java.awt.image.ColorConvertOp;
52 import java.awt.image.RenderedImage;
53 import java.awt.image
353 write(IIOMetadata streamMetadata, IIOImage image, ImageWriteParam param) argument
366 writeOnThread(IIOMetadata streamMetadata, IIOImage image, ImageWriteParam param) argument
1179 writeToSequence(IIOImage image, ImageWriteParam param) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11SurfaceData.c96 /* Cached shared image, one for all surface datas. */
651 /* need to create shared(!) image to get bytes_per_line */
750 * Determines if the cached image can be used for current operation.
751 * If the image is to be used to be read into by XShmGetImage,
758 /* we assume here that the cached image exists */
763 /* doesn't fit if any of the cached image dimensions is smaller
769 /* Not reading from this image, so any image at least of the
777 /* Cached image's width/height shouldn't be more than 64 pixels
1486 void X11SD_DisposeOrCacheXImage(XImage * image) { argument
1499 X11SD_DisposeXImage(XImage * image) argument
[all...]
/openjdk7/jdk/src/share/native/sun/font/
H A DfreetypeScaler.c541 all work to getGlyphImage but drop result image.
550 jlong image; local
552 image = Java_sun_font_FreetypeFontScaler_getGlyphImageNative(
554 info = (GlyphInfo*) jlong_to_ptr(image);
574 but drop result image. This is clearly waste of resorces.
581 jlong image = Java_sun_font_FreetypeFontScaler_getGlyphImageNative( local
584 info = (GlyphInfo*) jlong_to_ptr(image);
821 glyphInfo->image = NULL;
823 glyphInfo->image = (unsigned char*) glyphInfo + sizeof(GlyphInfo);
831 (void *) glyphInfo->image,
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DCSS.java61 * <li>background-image
88 * <li>list-style-image
183 new Attribute("background-image", "none", false);
294 new Attribute("list-style-image", "none", true);
2412 * Handles uniquing of CSS values, like lists, and background image
2585 private ImageIcon image; field in class:CSS.BackgroundImage
2605 image = new ImageIcon();
2608 image.setImage(tmpImg);
2614 return image;
2910 // bitmask: 0 for image,
[all...]
/openjdk7/jdk/src/macosx/classes/sun/java2d/
H A DOSXSurfaceData.java31 import java.awt.image.*;
35 import sun.awt.image.*;
75 this.fGraphicsStatesObject = new Object[6]; // clip coordinates + clip types + texture paint image + stroke dash
131 public abstract BufferedImage copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, BufferedImage image); argument
143 // clear the image.
196 // certain primitives don't care about all the states (ex. drawing an image needs not involve setting current paint)
601 this.fGraphicsStatesObject[kTextureImageIndex] = sun.awt.image.BufImgSurfaceData.createData(texturePaintImage);
704 // Significant for draw, fill, text, and image ops:
725 // Significant only for image ops:
732 // Significant only for image op
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/compact/
H A DCompactSyntax.java341 String s = mungeComment(t.image);
349 buf.append(mungeComment(t.image));
376 private static String mungeComment(String image) { argument
377 int i = image.indexOf('#') + 1;
378 while (i < image.length() && image.charAt(i) == '#')
380 if (i < image.length() && image.charAt(i) == ' ')
382 return image.substring(i);
1414 String qn = t.image;
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPrinterJob.java49 import java.awt.image.BufferedImage;
50 import java.awt.image.IndexColorModel;
1168 * Draw the 24 bit BGR image buffer represented by
1169 * <code>image</code> to the GDI device context
1170 * <code>printDC</code>. The image is drawn at
1172 * The image is scaled into a square of size
1175 * source image copied into that square is specified
1179 protected void drawImage3ByteBGR(byte[] image, argument
1186 drawDIBImage(getPrintDC(), image,
1210 protected void drawDIBImage(byte[] image, argument
1514 drawDIBImage(long printDC, byte[] image, float destX, float destY, float destWidth, float destHeight, float srcX, float srcY, float srcWidth, float srcHeight, int bitCount, byte[] bmiColors) argument
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_PrintJob.cpp267 static int bitsToDevice(HDC printDC, jbyte *image, long destX, long destY,
299 static jbyte *findNonWhite(jbyte *image, long sy, long width, long height,
301 static jbyte *findWhite(jbyte *image, long sy, long width, long height,
1483 * image blit up into multiple blit calls. This currently looks as if
1493 jbyte *image = NULL; local
1495 image = (jbyte *)env->GetPrimitiveArrayCritical(imageArray, 0);
1519 image+offset, // points to the DIB
1529 if (image != NULL) {
1530 env->ReleasePrimitiveArrayCritical(imageArray, image, 0);
1535 env->ReleasePrimitiveArrayCritical(imageArray, image,
[all...]
H A Dawt_Window.cpp2437 HBITMAP image = NULL; local
2447 image = BitmapUtil::CreateV4BitmapFromARGB(w, h, iconRasterBuffer);
2458 if (mask && image) {
2462 icnInfo.hbmColor = image;
2466 if (image) {
2467 destroy_BMP(image);
2651 HBITMAP image = NULL; local
2657 image = BitmapUtil::CreateBitmapFromARGBPre(w, h, w*4, rasterBuffer);
2669 return image;
/openjdk7/jdk/src/solaris/native/sun/xawt/
H A DXlibWrapper.c1711 Java_sun_awt_X11_XlibWrapper_XDestroyImage(JNIEnv *env, jclass clazz, jlong image) argument
1713 XImage *img = (XImage*) jlong_to_ptr(image);
1725 Java_sun_awt_X11_XlibWrapper_XPutImage(JNIEnv *env, jclass clazz, jlong display, jlong drawable, jlong gc, jlong image, jint src_x, jint src_y, jint dest_x, jint dest_y, jint width, jint height) argument
1728 XPutImage((Display*)jlong_to_ptr(display), (Drawable)drawable, (GC) jlong_to_ptr(gc), (XImage*) jlong_to_ptr(image), src_x, src_y,
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXlibWrapper.java474 static native void XDestroyImage(long image); argument
475 static native void XPutImage(long display, long drawable, long gc, long image, argument

Completed in 156 milliseconds

123456789