| javax.media.jai.ScaleOpImage com.sun.media.jai.mlib.MlibScaleOpImage
All known Subclasses: com.sun.media.jai.mlib.MlibScaleTableOpImage, com.sun.media.jai.mlib.MlibScaleBicubicOpImage, com.sun.media.jai.mlib.MlibScaleNearestOpImage, com.sun.media.jai.mlib.MlibScaleBilinearOpImage,
MlibScaleOpImage | abstract class MlibScaleOpImage extends ScaleOpImage (Code) | | MlibScaleOpImage extends ScaleOpImage for use by further extension
classes.
See Also: ScaleOpImage |
Constructor Summary | |
public | MlibScaleOpImage(RenderedImage source, BorderExtender extender, Map config, ImageLayout layout, float scaleX, float scaleY, float transX, float transY, Interpolation interp, boolean cobbleSources) Constructs a MlibScaleOpImage from a RenderedImage source,
Interpolation object, x and y scale values. |
Method Summary | |
protected Rectangle | backwardMapRect(Rectangle destRect, int sourceIndex) Returns the minimum bounding box of the region of the specified
source to which a particular Rectangle of the
destination will be mapped.
Parameters: destRect - the Rectangle in destination coordinates. Parameters: sourceIndex - the index of the source image. |
MlibScaleOpImage | public MlibScaleOpImage(RenderedImage source, BorderExtender extender, Map config, ImageLayout layout, float scaleX, float scaleY, float transX, float transY, Interpolation interp, boolean cobbleSources)(Code) | | Constructs a MlibScaleOpImage from a RenderedImage source,
Interpolation object, x and y scale values. The image
dimensions are determined by forward-mapping the source bounds.
The tile grid layout, SampleModel, and ColorModel are specified
by the image source, possibly overridden by values from the
ImageLayout parameter.
Parameters: source - a RenderedImage. Parameters: extender - a BorderExtender, or null.or null. If null, a default cache will be used. Parameters: layout - an ImageLayout optionally containing the tile grid layout,SampleModel, and ColorModel, or null. Parameters: scaleX - scale factor along x axis. Parameters: scaleY - scale factor along y axis. Parameters: transX - translation factor along x axis. Parameters: transY - translation factor along y axis. Parameters: interp - an Interpolation object to use for resampling. Parameters: cobbleSources - a boolean indicating whether computeRect()expects contiguous sources. |
backwardMapRect | protected Rectangle backwardMapRect(Rectangle destRect, int sourceIndex)(Code) | | Returns the minimum bounding box of the region of the specified
source to which a particular Rectangle of the
destination will be mapped.
Parameters: destRect - the Rectangle in destination coordinates. Parameters: sourceIndex - the index of the source image. a Rectangle indicating the source bounding box,or null if the bounding box is unknown. throws: IllegalArgumentException - if sourceIndex isnegative or greater than the index of the last source. throws: IllegalArgumentException - if destRect isnull . |
|
|