Class TileCacheRed
- java.lang.Object
-
- org.apache.batik.ext.awt.image.rendered.AbstractRed
-
- org.apache.batik.ext.awt.image.rendered.AbstractTiledRed
-
- org.apache.batik.ext.awt.image.rendered.TileCacheRed
-
- All Implemented Interfaces:
java.awt.image.RenderedImage
,CachableRed
,TileGenerator
public class TileCacheRed extends AbstractTiledRed
This implementation of RenderedImage only serves to put the tiles generated by it's input into the TileCache.- Version:
- $Id: TileCacheRed.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
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 Constructor Description TileCacheRed(CachableRed cr)
Place the results of computations of cr into the global tile cache.TileCacheRed(CachableRed cr, int tileWidth, int tileHeight)
Place the results of computations of cr into the global tile cache.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flushCache(java.awt.Rectangle rect)
void
genRect(java.awt.image.WritableRaster wr)
-
Methods inherited from class org.apache.batik.ext.awt.image.rendered.AbstractTiledRed
copyData, copyToRaster, copyToRasterByBlocks, createTileStore, drawBlock, drawBlockAndCopy, drawBlockInPlace, genTile, getData, getDefaultTileSize, getTile, getTileStore, init, init, init, setTile, setTileStore
-
Methods inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed
copyBand, getBounds, getColorModel, getData, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, makeTile, updateTileGridInfo
-
-
-
-
Constructor Detail
-
TileCacheRed
public TileCacheRed(CachableRed cr)
Place the results of computations of cr into the global tile cache.- Parameters:
cr
- The operation to cache results from.
-
TileCacheRed
public TileCacheRed(CachableRed cr, int tileWidth, int tileHeight)
Place the results of computations of cr into the global tile cache.- Parameters:
cr
- The operation to cache results from.
-
-
Method Detail
-
genRect
public void genRect(java.awt.image.WritableRaster wr)
- Specified by:
genRect
in classAbstractTiledRed
-
flushCache
public void flushCache(java.awt.Rectangle rect)
-
-