Lines Matching defs:dst
147 * @param dst the destination <code>BufferedImage</code> for the
152 * <code>dst</code>
155 public final BufferedImage filter (BufferedImage src, BufferedImage dst) {
159 if (src == dst) {
161 "same as the dst image");
167 BufferedImage origDst = dst;
176 if (dst == null) {
177 dst = createCompatibleDestImage(src, null);
179 origDst = dst;
182 dstCM = dst.getColorModel();
187 dst = createCompatibleDestImage(src, null);
188 dstCM = dst.getColorModel();
191 dst = createCompatibleDestImage(src, null);
192 dstCM = dst.getColorModel();
196 if (ImagingLib.filter(this, src, dst) == null) {
202 ccop.filter(dst, origDst);
204 else if (origDst != dst) {
207 g.drawImage(dst, 0, 0, null);
224 * @param dst the destination <code>WritableRaster</code> for the
228 * @throws ImagingOpException if <code>src</code> and <code>dst</code>
232 * <code>dst</code>
234 public final WritableRaster filter (Raster src, WritableRaster dst) {
235 if (dst == null) {
236 dst = createCompatibleDestRaster(src);
238 else if (src == dst) {
240 "same as the dst image");
242 else if (src.getNumBands() != dst.getNumBands()) {
244 " and dst Rasters");
247 if (ImagingLib.filter(this, src, dst) == null) {
251 return dst;