Class CompositeRed
java.lang.Object
org.apache.batik.ext.awt.image.rendered.AbstractRed
org.apache.batik.ext.awt.image.rendered.CompositeRed
- 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: CompositeRed.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) CompositeContext[]
(package private) CompositeRule
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 TypeMethodDescriptionvoid
protected static ColorModel
fixColorModel
(CachableRed src) protected static SampleModel
fixSampleModel
(CachableRed src, ColorModel cm, Rectangle bounds) This function 'fixes' the source's sample model.void
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
-
Field Details
-
rule
CompositeRule rule -
contexts
CompositeContext[] contexts
-
-
Constructor Details
-
CompositeRed
-
-
Method Details
-
copyData
-
getTile
- Specified by:
getTile
in interfaceRenderedImage
- Overrides:
getTile
in classAbstractRed
-
emptyRect
-
genRect
-
genRect_OVER
-
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. -
fixColorModel
-