org.apache.batik.ext.awt.image.rendered

Class CompositeRed

public class CompositeRed extends AbstractRed

This is an implementation of an affine operation as a RenderedImage. Right now the implementation makes use of the AffineBufferedImageOp to do the work. Eventually this may move to be more tiled in nature.
Constructor Summary
CompositeRed(List srcs, CompositeRule rule)
Method Summary
WritableRastercopyData(WritableRaster wr)
voidemptyRect(WritableRaster wr)
protected static ColorModelfixColorModel(CachableRed src)
protected static SampleModelfixSampleModel(CachableRed src, ColorModel cm, Rectangle bounds)
This function 'fixes' the source's sample model. right now it just ensures that the sample model isn't much larger than my width.
voidgenRect(WritableRaster wr)
voidgenRect_OVER(WritableRaster wr)
RastergetTile(int x, int y)

Constructor Detail

CompositeRed

public CompositeRed(List srcs, CompositeRule rule)

Method Detail

copyData

public WritableRaster copyData(WritableRaster wr)

emptyRect

public void emptyRect(WritableRaster wr)

fixColorModel

protected static ColorModel fixColorModel(CachableRed src)

fixSampleModel

protected static SampleModel fixSampleModel(CachableRed src, ColorModel cm, Rectangle bounds)
This function 'fixes' the source's sample model. right now it just ensures that the sample model isn't much larger than my width.

genRect

public void genRect(WritableRaster wr)

genRect_OVER

public void genRect_OVER(WritableRaster wr)

getTile

public Raster getTile(int x, int y)
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.