You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by tk...@apache.org on 2001/05/02 18:15:33 UTC
cvs commit: xml-batik/sources/org/apache/batik/bridge AbstractSVGFilterPrimitiveElementBridge.java CSSUtilities.java SVGFeBlendElementBridge.java SVGFeColorMatrixElementBridge.java SVGFeComponentTransferElementBridge.java SVGFeCompositeElementBridge.java SVGFeConvolveMatrixElementBridge.java SVGFeDiffuseLightingElementBridge.java SVGFeDisplacementMapElementBridge.java SVGFeFloodElementBridge.java SVGFeGaussianBlurElementBridge.java SVGFeImageElementBridge.java SVGFeMergeElementBridge.java SVGFeMorphologyElementBridge.java SVGFeOffsetElementBridge.java SVGFeSpecularLightingElementBridge.java SVGFeTileElementBridge.java SVGFeTurbulenceElementBridge.java
tkormann 01/05/02 09:15:30
Modified: sources/org/apache/batik/bridge
AbstractSVGFilterPrimitiveElementBridge.java
CSSUtilities.java SVGFeBlendElementBridge.java
SVGFeColorMatrixElementBridge.java
SVGFeComponentTransferElementBridge.java
SVGFeCompositeElementBridge.java
SVGFeConvolveMatrixElementBridge.java
SVGFeDiffuseLightingElementBridge.java
SVGFeDisplacementMapElementBridge.java
SVGFeFloodElementBridge.java
SVGFeGaussianBlurElementBridge.java
SVGFeImageElementBridge.java
SVGFeMergeElementBridge.java
SVGFeMorphologyElementBridge.java
SVGFeOffsetElementBridge.java
SVGFeSpecularLightingElementBridge.java
SVGFeTileElementBridge.java
SVGFeTurbulenceElementBridge.java
Log:
Add 'color-interpolation-filters' property support for all filter primitives
Revision Changes Path
1.2 +18 -1 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.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AbstractSVGFilterPrimitiveElementBridge.java 2001/05/02 14:33:32 1.1
+++ AbstractSVGFilterPrimitiveElementBridge.java 2001/05/02 16:14:09 1.2
@@ -15,7 +15,9 @@
import org.apache.batik.ext.awt.image.renderable.Filter;
import org.apache.batik.ext.awt.image.renderable.FilterAlphaRable;
+import org.apache.batik.ext.awt.image.renderable.FilterColorInterpolation;
import org.apache.batik.ext.awt.image.renderable.FloodRable8Bit;
+
import org.apache.batik.gvt.GraphicsNode;
import org.apache.batik.gvt.filter.BackgroundRable8Bit;
@@ -26,7 +28,7 @@
* The base bridge class for SVG filter primitives.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: AbstractSVGFilterPrimitiveElementBridge.java,v 1.1 2001/05/02 14:33:32 tkormann Exp $
+ * @version $Id: AbstractSVGFilterPrimitiveElementBridge.java,v 1.2 2001/05/02 16:14:09 tkormann Exp $
*/
public abstract class AbstractSVGFilterPrimitiveElementBridge
extends AbstractSVGBridge implements FilterPrimitiveBridge, ErrorConstants {
@@ -113,6 +115,21 @@
String s = filterElement.getAttributeNS(null, SVG_RESULT_ATTRIBUTE);
if ((s.length() != 0) && (s.trim().length() != 0)) {
filterMap.put(s, filter);
+ }
+ }
+
+ /**
+ * Handles the 'color-interpolation-filters' CSS property.
+ *
+ * @param filter the filter
+ * @param filterElement the filter element
+ */
+ protected static void handleColorInterpolationFilters(Filter filter,
+ Element filterElement) {
+ if (filter instanceof FilterColorInterpolation) {
+ boolean isLinear
+ = CSSUtilities.convertColorInterpolationFilter(filterElement);
+ ((FilterColorInterpolation)filter).setColorSpaceLinear(isLinear);
}
}
1.25 +21 -1 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.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- CSSUtilities.java 2001/04/19 09:11:23 1.24
+++ CSSUtilities.java 2001/05/02 16:14:11 1.25
@@ -66,7 +66,7 @@
* concrete objects regarding to CSS properties.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: CSSUtilities.java,v 1.24 2001/04/19 09:11:23 tkormann Exp $
+ * @version $Id: CSSUtilities.java,v 1.25 2001/05/02 16:14:11 tkormann Exp $
*/
public abstract class CSSUtilities implements CSSConstants, ErrorConstants {
@@ -143,6 +143,26 @@
// background image processing were not enabled.
return null;
}
+ }
+
+ /////////////////////////////////////////////////////////////////////////
+ // 'color-interpolation-filter'
+ /////////////////////////////////////////////////////////////////////////
+
+ /**
+ * Returns the color space for the specified filter element. Checks the
+ * 'color-interpolation-filter' property and returns true if the color space
+ * is linear, false otherwise (sRGB).
+ *
+ * @param filterElement the element
+ */
+ public static boolean convertColorInterpolationFilter(Element filterElement) {
+ CSSOMReadOnlyStyleDeclaration decl = getComputedStyle(filterElement);
+ CSSPrimitiveValue v
+ = (CSSPrimitiveValue) decl.getPropertyCSSValueInternal
+ (CSS_COLOR_INTERPOLATION_FILTERS_PROPERTY);
+
+ return CSS_LINEARRGB_VALUE.equals(v.getStringValue());
}
/////////////////////////////////////////////////////////////////////////
1.10 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeBlendElementBridge.java
Index: SVGFeBlendElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeBlendElementBridge.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- SVGFeBlendElementBridge.java 2001/05/02 14:33:42 1.9
+++ SVGFeBlendElementBridge.java 2001/05/02 16:14:14 1.10
@@ -28,7 +28,7 @@
* Bridge class for the <feBlend> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeBlendElementBridge.java,v 1.9 2001/05/02 14:33:42 tkormann Exp $
+ * @version $Id: SVGFeBlendElementBridge.java,v 1.10 2001/05/02 16:14:14 tkormann Exp $
*/
public class SVGFeBlendElementBridge
extends AbstractSVGFilterPrimitiveElementBridge {
@@ -129,6 +129,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.9 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeColorMatrixElementBridge.java
Index: SVGFeColorMatrixElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeColorMatrixElementBridge.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- SVGFeColorMatrixElementBridge.java 2001/05/02 14:33:42 1.8
+++ SVGFeColorMatrixElementBridge.java 2001/05/02 16:14:16 1.9
@@ -26,7 +26,7 @@
* Bridge class for the <feColorMatrix> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeColorMatrixElementBridge.java,v 1.8 2001/05/02 14:33:42 tkormann Exp $
+ * @version $Id: SVGFeColorMatrixElementBridge.java,v 1.9 2001/05/02 16:14:16 tkormann Exp $
*/
public class SVGFeColorMatrixElementBridge
extends AbstractSVGFilterPrimitiveElementBridge {
@@ -127,6 +127,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.9 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeComponentTransferElementBridge.java
Index: SVGFeComponentTransferElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeComponentTransferElementBridge.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- SVGFeComponentTransferElementBridge.java 2001/05/02 14:33:43 1.8
+++ SVGFeComponentTransferElementBridge.java 2001/05/02 16:14:18 1.9
@@ -28,7 +28,7 @@
* Bridge class for the <feComponentTransfer> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeComponentTransferElementBridge.java,v 1.8 2001/05/02 14:33:43 tkormann Exp $
+ * @version $Id: SVGFeComponentTransferElementBridge.java,v 1.9 2001/05/02 16:14:18 tkormann Exp $
*/
public class SVGFeComponentTransferElementBridge
extends AbstractSVGFilterPrimitiveElementBridge {
@@ -143,6 +143,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.10 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeCompositeElementBridge.java
Index: SVGFeCompositeElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeCompositeElementBridge.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- SVGFeCompositeElementBridge.java 2001/05/02 14:33:44 1.9
+++ SVGFeCompositeElementBridge.java 2001/05/02 16:14:20 1.10
@@ -28,7 +28,7 @@
* Bridge class for the <feComposite> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeCompositeElementBridge.java,v 1.9 2001/05/02 14:33:44 tkormann Exp $
+ * @version $Id: SVGFeCompositeElementBridge.java,v 1.10 2001/05/02 16:14:20 tkormann Exp $
*/
public class SVGFeCompositeElementBridge
extends AbstractSVGFilterPrimitiveElementBridge {
@@ -126,6 +126,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.10 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeConvolveMatrixElementBridge.java
Index: SVGFeConvolveMatrixElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeConvolveMatrixElementBridge.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- SVGFeConvolveMatrixElementBridge.java 2001/05/02 14:33:45 1.9
+++ SVGFeConvolveMatrixElementBridge.java 2001/05/02 16:14:22 1.10
@@ -29,7 +29,7 @@
* Bridge class for the <feConvolveMatrix> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeConvolveMatrixElementBridge.java,v 1.9 2001/05/02 14:33:45 tkormann Exp $
+ * @version $Id: SVGFeConvolveMatrixElementBridge.java,v 1.10 2001/05/02 16:14:22 tkormann Exp $
*/
public class SVGFeConvolveMatrixElementBridge
extends AbstractSVGFilterPrimitiveElementBridge {
@@ -146,6 +146,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.11 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeDiffuseLightingElementBridge.java
Index: SVGFeDiffuseLightingElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeDiffuseLightingElementBridge.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- SVGFeDiffuseLightingElementBridge.java 2001/05/02 14:33:47 1.10
+++ SVGFeDiffuseLightingElementBridge.java 2001/05/02 16:14:24 1.11
@@ -22,7 +22,7 @@
* Bridge class for the <feDiffuseLighting> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeDiffuseLightingElementBridge.java,v 1.10 2001/05/02 14:33:47 tkormann Exp $
+ * @version $Id: SVGFeDiffuseLightingElementBridge.java,v 1.11 2001/05/02 16:14:24 tkormann Exp $
*/
public class SVGFeDiffuseLightingElementBridge
extends AbstractSVGLightingElementBridge {
@@ -121,6 +121,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.10 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeDisplacementMapElementBridge.java
Index: SVGFeDisplacementMapElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeDisplacementMapElementBridge.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- SVGFeDisplacementMapElementBridge.java 2001/05/02 14:33:48 1.9
+++ SVGFeDisplacementMapElementBridge.java 2001/05/02 16:14:26 1.10
@@ -29,7 +29,7 @@
* Bridge class for the <feDisplacementMap> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeDisplacementMapElementBridge.java,v 1.9 2001/05/02 14:33:48 tkormann Exp $
+ * @version $Id: SVGFeDisplacementMapElementBridge.java,v 1.10 2001/05/02 16:14:26 tkormann Exp $
*/
public class SVGFeDisplacementMapElementBridge
extends AbstractSVGFilterPrimitiveElementBridge {
@@ -142,6 +142,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.8 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeFloodElementBridge.java
Index: SVGFeFloodElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeFloodElementBridge.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- SVGFeFloodElementBridge.java 2001/05/02 14:33:49 1.7
+++ SVGFeFloodElementBridge.java 2001/05/02 16:14:29 1.8
@@ -22,7 +22,7 @@
* Bridge class for the <feFlood> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeFloodElementBridge.java,v 1.7 2001/05/02 14:33:49 tkormann Exp $
+ * @version $Id: SVGFeFloodElementBridge.java,v 1.8 2001/05/02 16:14:29 tkormann Exp $
*/
public class SVGFeFloodElementBridge
extends AbstractSVGFilterPrimitiveElementBridge {
@@ -79,6 +79,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.10 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeGaussianBlurElementBridge.java
Index: SVGFeGaussianBlurElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeGaussianBlurElementBridge.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- SVGFeGaussianBlurElementBridge.java 2001/05/02 14:33:50 1.9
+++ SVGFeGaussianBlurElementBridge.java 2001/05/02 16:14:32 1.10
@@ -27,7 +27,7 @@
* Bridge class for the <feGaussianBlur> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeGaussianBlurElementBridge.java,v 1.9 2001/05/02 14:33:50 tkormann Exp $
+ * @version $Id: SVGFeGaussianBlurElementBridge.java,v 1.10 2001/05/02 16:14:32 tkormann Exp $
*/
public class SVGFeGaussianBlurElementBridge
extends AbstractSVGFilterPrimitiveElementBridge {
@@ -123,6 +123,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.10 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeImageElementBridge.java
Index: SVGFeImageElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeImageElementBridge.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- SVGFeImageElementBridge.java 2001/05/02 14:33:52 1.9
+++ SVGFeImageElementBridge.java 2001/05/02 16:14:34 1.10
@@ -34,7 +34,7 @@
* Bridge class for the <feImage> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeImageElementBridge.java,v 1.9 2001/05/02 14:33:52 tkormann Exp $
+ * @version $Id: SVGFeImageElementBridge.java,v 1.10 2001/05/02 16:14:34 tkormann Exp $
*/
public class SVGFeImageElementBridge
extends AbstractSVGFilterPrimitiveElementBridge {
@@ -141,6 +141,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.11 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeMergeElementBridge.java
Index: SVGFeMergeElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeMergeElementBridge.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- SVGFeMergeElementBridge.java 2001/05/02 14:33:53 1.10
+++ SVGFeMergeElementBridge.java 2001/05/02 16:14:36 1.11
@@ -28,7 +28,7 @@
* Bridge class for the <feMerge> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeMergeElementBridge.java,v 1.10 2001/05/02 14:33:53 tkormann Exp $
+ * @version $Id: SVGFeMergeElementBridge.java,v 1.11 2001/05/02 16:14:36 tkormann Exp $
*/
public class SVGFeMergeElementBridge
extends AbstractSVGFilterPrimitiveElementBridge {
@@ -102,6 +102,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.10 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeMorphologyElementBridge.java
Index: SVGFeMorphologyElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeMorphologyElementBridge.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- SVGFeMorphologyElementBridge.java 2001/05/02 14:33:53 1.9
+++ SVGFeMorphologyElementBridge.java 2001/05/02 16:14:39 1.10
@@ -26,7 +26,7 @@
* Bridge class for the <feMorphology> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeMorphologyElementBridge.java,v 1.9 2001/05/02 14:33:53 tkormann Exp $
+ * @version $Id: SVGFeMorphologyElementBridge.java,v 1.10 2001/05/02 16:14:39 tkormann Exp $
*/
public class SVGFeMorphologyElementBridge
extends AbstractSVGFilterPrimitiveElementBridge {
@@ -124,6 +124,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.9 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeOffsetElementBridge.java
Index: SVGFeOffsetElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeOffsetElementBridge.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- SVGFeOffsetElementBridge.java 2001/05/02 14:33:55 1.8
+++ SVGFeOffsetElementBridge.java 2001/05/02 16:14:41 1.9
@@ -25,7 +25,7 @@
* Bridge class for the <feOffset> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeOffsetElementBridge.java,v 1.8 2001/05/02 14:33:55 tkormann Exp $
+ * @version $Id: SVGFeOffsetElementBridge.java,v 1.9 2001/05/02 16:14:41 tkormann Exp $
*/
public class SVGFeOffsetElementBridge
extends AbstractSVGFilterPrimitiveElementBridge {
@@ -111,6 +111,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.11 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeSpecularLightingElementBridge.java
Index: SVGFeSpecularLightingElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeSpecularLightingElementBridge.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- SVGFeSpecularLightingElementBridge.java 2001/05/02 14:33:55 1.10
+++ SVGFeSpecularLightingElementBridge.java 2001/05/02 16:14:44 1.11
@@ -23,7 +23,7 @@
* Bridge class for the <feSpecularLighting> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeSpecularLightingElementBridge.java,v 1.10 2001/05/02 14:33:55 tkormann Exp $
+ * @version $Id: SVGFeSpecularLightingElementBridge.java,v 1.11 2001/05/02 16:14:44 tkormann Exp $
*/
public class SVGFeSpecularLightingElementBridge
extends AbstractSVGLightingElementBridge {
@@ -126,6 +126,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.8 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeTileElementBridge.java
Index: SVGFeTileElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeTileElementBridge.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- SVGFeTileElementBridge.java 2001/05/02 14:33:56 1.7
+++ SVGFeTileElementBridge.java 2001/05/02 16:14:45 1.8
@@ -22,7 +22,7 @@
* Bridge class for the <feTile> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeTileElementBridge.java,v 1.7 2001/05/02 14:33:56 tkormann Exp $
+ * @version $Id: SVGFeTileElementBridge.java,v 1.8 2001/05/02 16:14:45 tkormann Exp $
*/
public class SVGFeTileElementBridge
extends AbstractSVGFilterPrimitiveElementBridge {
@@ -95,6 +95,9 @@
// update the filter Map
updateFilterMap(filterElement, filter, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(filter, filterElement);
return filter;
}
1.7 +4 -1 xml-batik/sources/org/apache/batik/bridge/SVGFeTurbulenceElementBridge.java
Index: SVGFeTurbulenceElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGFeTurbulenceElementBridge.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- SVGFeTurbulenceElementBridge.java 2001/05/02 14:33:58 1.6
+++ SVGFeTurbulenceElementBridge.java 2001/05/02 16:14:48 1.7
@@ -23,7 +23,7 @@
* Bridge class for the <feTurbulence> element.
*
* @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
- * @version $Id: SVGFeTurbulenceElementBridge.java,v 1.6 2001/05/02 14:33:58 tkormann Exp $
+ * @version $Id: SVGFeTurbulenceElementBridge.java,v 1.7 2001/05/02 16:14:48 tkormann Exp $
*/
public class SVGFeTurbulenceElementBridge
extends AbstractSVGFilterPrimitiveElementBridge {
@@ -120,6 +120,9 @@
// update the filter Map
updateFilterMap(filterElement, turbulenceRable, filterMap);
+
+ // handle the 'color-interpolation-filters' property
+ handleColorInterpolationFilters(turbulenceRable, filterElement);
return turbulenceRable;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org