| javax.media.jai.ScaleOpImage com.sun.media.jai.opimage.ScaleBilinearBinaryOpImage
ScaleBilinearBinaryOpImage | final public class ScaleBilinearBinaryOpImage extends ScaleOpImage (Code) | | An OpImage subclass that performs bilinear scaling
for binary images with a MultiPixelPackedSampleModel
and byte, short, or int DataBuffers.
|
Method Summary | |
protected void | computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect) Performs a scale operation on a specified rectangle. |
invScaleXIntinvScaleXFrac | long invScaleXIntinvScaleXFrac(Code) | | |
invScaleYIntinvScaleYFrac | long invScaleYIntinvScaleYFrac(Code) | | |
oneshift2round2 | int oneshift2round2(Code) | | |
ScaleBilinearBinaryOpImage | public ScaleBilinearBinaryOpImage(RenderedImage source, BorderExtender extender, Map config, ImageLayout layout, float xScale, float yScale, float xTrans, float yTrans, Interpolation interp)(Code) | | Constructs a ScaleBilinearBinaryOpImage from a RenderedImage source,
Parameters: source - a RenderedImage. Parameters: layout - an ImageLayout optionally containing the tile grid layout,SampleModel, and ColorModel, or null. Parameters: xScale - scale factor along x axis. Parameters: yScale - scale factor along y axis. Parameters: xTrans - translation factor along x axis. Parameters: yTrans - translation factor along y axis. Parameters: interp - an Interpolation object to use for resampling. |
computeRect | protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect)(Code) | | Performs a scale operation on a specified rectangle. The sources are
cobbled.
Parameters: sources - an array of source Rasters, guaranteed to provide allnecessary source data for computing the output. Parameters: dest - a WritableRaster containing the area to be computed. Parameters: destRect - the rectangle within dest to be processed. |
|
|