2362N/A * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 1173N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1173N/A * This code is free software; you can redistribute it and/or modify it 1173N/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 1173N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 1173N/A * This code is distributed in the hope that it will be useful, but WITHOUT 1173N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1173N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1173N/A * version 2 for more details (a copy is included in the LICENSE file that 1173N/A * You should have received a copy of the GNU General Public License version 1173N/A * 2 along with this work; if not, write to the Free Software Foundation, 1173N/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 1173N/A * @author Created by Jasper Potts (Jun 18, 2007) 1173N/A // ================================================================================================================= 1173N/A * Get the type of this effect, one of UNDER,BLENDED,OVER. UNDER means the result of apply effect should be painted 1173N/A * under the src image. BLENDED means the result of apply sffect contains a modified src image so just it should be 1173N/A * painted. OVER means the result of apply effect should be painted over the src image. 1173N/A * Get the opacity to use to paint the result effected image if the EffectType is UNDER or OVER. 1173N/A * @return The opactity for the effect, 0.0f -> 1.0f 1173N/A * Apply the effect to the src image generating the result . The result image may or may not contain the source 1173N/A * image depending on what the effect type is. 1173N/A * @param src The source image for applying the effect to 1173N/A * @param dst The dstination image to paint effect result into. If this is null then a new image will be created 1173N/A * @param w The width of the src image to apply effect to, this allow the src and dst buffers to be bigger than 1173N/A * the area the need effect applied to it 1173N/A * @param h The height of the src image to apply effect to, this allow the src and dst buffers to be bigger than 1173N/A * the area the need effect applied to it 1173N/A * @return The result of appl 1173N/A // =================================================================================================================