tkormann 01/07/24 07:36:19 Modified: sources/org/apache/batik/bridge AbstractSVGFilterPrimitiveElementBridge.java CSSUtilities.java Log: polish the method name :) Revision Changes Path 1.3 +2 -2 xml-batik/sources/org/apache/batik/bridge/AbstractSVGFilterPrimitiveElementBridge.java Index: AbstractSVGFilterPrimitiveElementBridge.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/AbstractSVGFilterPrimitiveElementBridge.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AbstractSVGFilterPrimitiveElementBridge.java 2001/05/02 16:14:09 1.2 +++ AbstractSVGFilterPrimitiveElementBridge.java 2001/07/24 14:36:19 1.3 @@ -28,7 +28,7 @@ * The base bridge class for SVG filter primitives. * * @author <a href="mailto:[EMAIL PROTECTED]">Thierry Kormann</a> - * @version $Id: AbstractSVGFilterPrimitiveElementBridge.java,v 1.2 2001/05/02 16:14:09 tkormann Exp $ + * @version $Id: AbstractSVGFilterPrimitiveElementBridge.java,v 1.3 2001/07/24 14:36:19 tkormann Exp $ */ public abstract class AbstractSVGFilterPrimitiveElementBridge extends AbstractSVGBridge implements FilterPrimitiveBridge, ErrorConstants { @@ -128,7 +128,7 @@ Element filterElement) { if (filter instanceof FilterColorInterpolation) { boolean isLinear - = CSSUtilities.convertColorInterpolationFilter(filterElement); + = CSSUtilities.convertColorInterpolationFilters(filterElement); ((FilterColorInterpolation)filter).setColorSpaceLinear(isLinear); } } 1.28 +4 -2 xml-batik/sources/org/apache/batik/bridge/CSSUtilities.java Index: CSSUtilities.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/CSSUtilities.java,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- CSSUtilities.java 2001/07/12 15:07:40 1.27 +++ CSSUtilities.java 2001/07/24 14:36:19 1.28 @@ -66,7 +66,7 @@ * concrete objects regarding to CSS properties. * * @author <a href="mailto:[EMAIL PROTECTED]">Thierry Kormann</a> - * @version $Id: CSSUtilities.java,v 1.27 2001/07/12 15:07:40 deweese Exp $ + * @version $Id: CSSUtilities.java,v 1.28 2001/07/24 14:36:19 tkormann Exp $ */ public abstract class CSSUtilities implements CSSConstants, ErrorConstants { @@ -156,7 +156,9 @@ * @param filterElement the element * @return true if the color space is linear, false otherwise (sRGB). */ - public static boolean convertColorInterpolationFilter(Element filterElement) { + public static + boolean convertColorInterpolationFilters(Element filterElement) { + CSSOMReadOnlyStyleDeclaration decl = getComputedStyle(filterElement); CSSPrimitiveValue v = (CSSPrimitiveValue) decl.getPropertyCSSValueInternal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]