2362N/A * Copyright (c) 1997, 2000, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * operations performed on Raster objects. It is implemented by such 0N/A * classes as AffineTransformOp, ConvolveOp, and LookupOp. The Source 0N/A * and Destination objects must contain the appropriate number 0N/A * of bands for the particular classes implementing this interface. 0N/A * Otherwise, an exception is thrown. This interface cannot be used to 0N/A * describe more sophisticated Ops such as ones that take multiple sources. 0N/A * Each class implementing this interface will specify whether or not it 0N/A * will allow an in-place filtering operation (i.e. source object equal 0N/A * to the destination object). Note that the restriction to single-input 0N/A * operations means that the values of destination pixels prior to the 0N/A * operation are not used as input to the filter operation. 0N/A * @see AffineTransformOp 0N/A * @see BandCombineOp 0N/A * @see ColorConvertOp 0N/A * to a destination Raster. If the destination Raster is null, a 0N/A * new Raster will be created. The IllegalArgumentException may be thrown 0N/A * if the source and/or destination Raster is incompatible with the types 0N/A * of Rasters allowed by the class implementing this filter. 0N/A * @param src the source <code>Raster</code> 0N/A * @param dest the destination <code>WritableRaster</code> 0N/A * @return a <code>WritableRaster</code> that represents the result of 0N/A * the filtering operation. 0N/A * Returns the bounding box of the filtered destination Raster. 0N/A * The IllegalArgumentException may be thrown if the source Raster 0N/A * is incompatible with the types of Rasters allowed 0N/A * by the class implementing this filter. 0N/A * @param src the source <code>Raster</code> 0N/A * @return a <code>Rectangle2D</code> that is the bounding box of 0N/A * the <code>Raster</code> resulting from the filtering 0N/A * Creates a zeroed destination Raster with the correct size and number of 0N/A * The IllegalArgumentException may be thrown if the source Raster 0N/A * is incompatible with the types of Rasters allowed 0N/A * by the class implementing this filter. 0N/A * @param src the source <code>Raster</code> 0N/A * @return a <code>WritableRaster</code> that is compatible with 0N/A * Returns the location of the destination point given a 0N/A * point in the source Raster. If dstPt is non-null, it 0N/A * will be used to hold the return value. 0N/A * @param srcPt the source <code>Point2D</code> 0N/A * @param dstPt the destination <code>Point2D</code> 0N/A * @return the location of the destination point. 0N/A * Returns the rendering hints for this RasterOp. Returns 0N/A * null if no hints have been set. 0N/A * @return the <code>RenderingHints</code> object of this 0N/A * <code>RasterOp</code>.