Top Description Methods
sun.java2d.pipe

public Interface DrawImagePipe

Known Direct Implementers
sun.java2d.pipe.NullPipe, sun.java2d.pipe.ValidatePipe, sun.java2d.pipe.DrawImage
Imports
java.awt.Color, .Image, java.awt.image.BufferedImage, .BufferedImageOp, .ImageObserver, java.awt.geom.AffineTransform, sun.java2d.SunGraphics2D

This interface defines the set of calls that pipeline objects can use to pass on responsibility for performing various image copy commands. There are 3 types of image copies handled by this class: - copyImage: These methods simply copy the pixels from the src to dest, either from (0, 0) (implicit) or from a given (sx, sy) location. - scaleImage: These methods copy from src to dest while scaling the source image. The src and dest rectangles are used to specify the scale. - copyImageBg: These methods behave the same as the copyImage methods except they substitute the given background color for any transparent pixels. - scaleImageBg: These methods behave the same as the scaleImage methods except they substitute the given background color for any transparent pixels. - transformImage....

Method Summary

Modifier and TypeMethod and Description
public boolean
copyImage(SunGraphics2D sg, Image img, int x, int y, Color bgColor, ImageObserver observer)

public boolean
copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer)

public boolean
scaleImage(SunGraphics2D sg, Image img, int x, int y, int width, int height, Color bgColor, ImageObserver observer)

public boolean
scaleImage(SunGraphics2D sg, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor, ImageObserver observer)

public boolean
public void

Method Detail

copyImageback to summary
public boolean copyImage(SunGraphics2D sg, Image img, int x, int y, Color bgColor, ImageObserver observer)
copyImageback to summary
public boolean copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer)
scaleImageback to summary
public boolean scaleImage(SunGraphics2D sg, Image img, int x, int y, int width, int height, Color bgColor, ImageObserver observer)
scaleImageback to summary
public boolean scaleImage(SunGraphics2D sg, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor, ImageObserver observer)
transformImageback to summary
public boolean transformImage(SunGraphics2D sg, Image img, AffineTransform atfm, ImageObserver observer)
transformImageback to summary
public void transformImage(SunGraphics2D sg, BufferedImage img, BufferedImageOp op, int x, int y)