Lines Matching defs:image

46 import java.awt.image.BufferedImage;
47 import sun.awt.image.ByteComponentRaster;
254 * The portion of the passed in image defined by
259 * @param img The image to be drawn.
261 * @param xform Used to tranform the image before drawing.
263 * @param bgcolor This color is drawn where the image has transparent
268 * of the portion of the image to be drawn.
271 * of the portion of the image to be drawn.
272 * @param srcWidth The width of the portion of the image to
274 * @param srcHeight The height of the portion of the image to
277 * print opaque region of transparent image
279 protected boolean drawImageToPlatform(Image image, AffineTransform xform,
285 BufferedImage img = getBufferedImage(image);
292 /* The full transform to be applied to the image is the
313 * The entire image transformation is not in Java in order
316 * the source image in its own space and only go to
385 /* Convert the image source's rectangle into the rotated
389 * create to hold the transformed image.
400 * out of the image.
412 /* If the image has transparent or semi-transparent
414 * the portion of the page covered by the image.
433 // image drawn, just return.
450 // if src region extends beyond the image, the "opaque" path
483 // image size then scale down the region to fit in
517 * needed to reconstitute it (image source area,
518 * image transform and current graphics transform).
527 /* The image can be rendered directly by PS so we
534 /* Create a buffered image big enough to hold the portion
535 * of the source image being printed.
543 * source image when copied, lands within the image buffer.
603 /* Pull the raster data from the buffered image
647 /* Create a buffered image big enough to hold the portion
648 * of the source image being printed.
669 /* Calculate the resolution of the source image.
675 * so change user space from image source resolution to
715 /* Pull the raster data from the buffered image