org.apache.batik.ext.awt.image.rendered
public interface CachableRed extends RenderedImage
Method Summary | |
---|---|
Rectangle | getBounds()
Returns the bounds of the current image.
|
Shape | getDependencyRegion(int srcIndex, Rectangle outputRgn)
Returns the region of input data is is required to generate
outputRgn. |
Shape | getDirtyRegion(int srcIndex, Rectangle inputRgn)
This calculates the region of output that is affected by a change
in a region of input. |
Parameters: srcIndex The source to do the dependency calculation for. outputRgn The region of output you are interested in generating dependencies for. The is given in the output pixel coordiate system for this node.
Returns: The region of input required. This is in the output pixel coordinate system for the source indicated by srcIndex.
Parameters: srcIndex The input that inputRgn reflects changes in. inputRgn the region of input that has changed, used to calculate the returned shape. This is given in the pixel coordinate system of the source indicated by srcIndex.
Returns: The region of output that would be invalid given a change to inputRgn of the source selected by srcIndex. this is in the output pixel coordinate system of this node.