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

Class AffineRed

public class AffineRed 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
AffineRed(CachableRed src, AffineTransform src2me, RenderingHints hints)
Method Summary
WritableRastercopyData(WritableRaster wr)
protected static ColorModelfixColorModel(CachableRed src)
protected 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)
CachableRedgetSource()
RastergetTile(int x, int y)
AffineTransformgetTransform()

Constructor Detail

AffineRed

public AffineRed(CachableRed src, AffineTransform src2me, RenderingHints hints)

Method Detail

copyData

public WritableRaster copyData(WritableRaster wr)

fixColorModel

protected static ColorModel fixColorModel(CachableRed src)

fixSampleModel

protected 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)

getSource

public CachableRed getSource()

getTile

public Raster getTile(int x, int y)

getTransform

public AffineTransform getTransform()
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.