| org.apache.xmlgraphics.image.rendered.CachableRed
All known Subclasses: org.apache.xmlgraphics.image.rendered.AbstractRed, org.apache.xmlgraphics.image.rendered.RenderedImageCachableRed,
CachableRed | public interface CachableRed extends RenderedImage(Code) | | This provides a number of extra methods that enable a system to
better analyse the dependencies between nodes in a render graph.
author: Thomas DeWeese version: $Id: CachableRed.java 496556 2007-01-16 00:59:48Z cam $ |
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.
Parameters: srcIndex - The source to do the dependency calculation for. Parameters: outputRgn - The region of output you are interested ingenerating dependencies for. | 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 input that inputRgn reflects changes in. Parameters: inputRgn - the region of input that has changed, used tocalculate the returned shape. |
getBounds | Rectangle getBounds()(Code) | | Returns the bounds of the current image.
This should be 'in sync' with getMinX, getMinY, getWidth, getHeight
|
getDependencyRegion | Shape getDependencyRegion(int srcIndex, Rectangle outputRgn)(Code) | | Returns the region of input data is is required to generate
outputRgn.
Parameters: srcIndex - The source to do the dependency calculation for. Parameters: outputRgn - The region of output you are interested ingenerating dependencies for. The is given in the output pixelcoordiate system for this node. The region of input required. This is in the output pixelcoordinate system for the source indicated by srcIndex. |
getDirtyRegion | Shape getDirtyRegion(int srcIndex, Rectangle inputRgn)(Code) | | This calculates the region of output that is affected by a change
in a region of input.
Parameters: srcIndex - The input that inputRgn reflects changes in. Parameters: inputRgn - the region of input that has changed, used tocalculate the returned shape. This is given in the pixelcoordinate system of the source indicated by srcIndex. The region of output that would be invalid givena change to inputRgn of the source selected by srcIndex.this is in the output pixel coordinate system of this node. |
|
|