Class AffineRed
java.lang.Object
org.apache.batik.ext.awt.image.rendered.AbstractRed
org.apache.batik.ext.awt.image.rendered.AffineRed
- All Implemented Interfaces:
RenderedImage, CachableRed
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.
- Version:
- $Id$
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) RenderingHints(package private) AffineTransform(package private) AffineTransformFields inherited from class AbstractRed
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static ColorModelfixColorModel(CachableRed src) protected SampleModelfixSampleModel(CachableRed src, ColorModel cm, Rectangle bounds) This function 'fixes' the source's sample model.voidgetTile(int x, int y) Methods inherited from class AbstractRed
copyBand, copyToRaster, getBounds, getColorModel, getData, getData, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, init, init, makeTile, updateTileGridInfo
-
Field Details
-
hints
RenderingHints hints -
src2me
AffineTransform src2me -
me2src
AffineTransform me2src
-
-
Constructor Details
-
AffineRed
-
-
Method Details
-
getTransform
-
getSource
-
copyData
-
getTile
- Specified by:
getTilein interfaceRenderedImage- Overrides:
getTilein classAbstractRed
-
genRect
-
fixColorModel
-
fixSampleModel
This function 'fixes' the source's sample model. right now it just ensures that the sample model isn't much larger than my width.
-