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.
-
Field Summary
Fields inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static ColorModel
fixColorModel
(CachableRed src) protected SampleModel
fixSampleModel
(CachableRed src, ColorModel cm, Rectangle bounds) This function 'fixes' the source's sample model.void
getTile
(int x, int y) Methods inherited from class org.apache.batik.ext.awt.image.rendered.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
-
Constructor Details
-
AffineRed
-
-
Method Details
-
getTransform
-
getSource
-
copyData
-
getTile
- Specified by:
getTile
in interfaceRenderedImage
- Overrides:
getTile
in 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.
-