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/01/23 23:17:10 UTC
cvs commit: xml-batik/sources/org/apache/batik/swing JSVGCanvas.java
tkormann 01/01/23 14:17:09
Modified: sources/org/apache/batik/ext/awt/image/codec
PropertyUtil.java
sources/org/apache/batik/gvt/filter FilterAsAlphaRable.java
sources/org/apache/batik/swing JSVGCanvas.java
Log:
remove refimpl
Revision Changes Path
1.2 +1 -1 xml-batik/sources/org/apache/batik/ext/awt/image/codec/PropertyUtil.java
Index: PropertyUtil.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/ext/awt/image/codec/PropertyUtil.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PropertyUtil.java 2001/01/23 17:07:14 1.1
+++ PropertyUtil.java 2001/01/23 22:17:00 1.2
@@ -18,7 +18,7 @@
public class PropertyUtil {
protected final static String RESOURCES =
- "org.apache.batik.refimpl.bridge.resources.properties";
+ "org.apache.batik.bridge.resources.properties";
protected static LocalizableSupport localizableSupport =
1.2 +10 -10 xml-batik/sources/org/apache/batik/gvt/filter/FilterAsAlphaRable.java
Index: FilterAsAlphaRable.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/gvt/filter/FilterAsAlphaRable.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FilterAsAlphaRable.java 2001/01/23 17:07:45 1.1
+++ FilterAsAlphaRable.java 2001/01/23 22:17:04 1.2
@@ -25,12 +25,12 @@
/**
* FilterAsAlphaRable implementation.
- *
+ *
* This will take any source Filter and convert it to an alpha channel
* according the the SVG Mask operation.
*
* @author <a href="mailto:Thomas.DeWeese@Kodak.com>Thomas DeWeese</a>
- * @version $Id: FilterAsAlphaRable.java,v 1.1 2001/01/23 17:07:45 tkormann Exp $
+ * @version $Id: FilterAsAlphaRable.java,v 1.2 2001/01/23 22:17:04 tkormann Exp $
*/
public class FilterAsAlphaRable
extends AbstractRable {
@@ -41,7 +41,7 @@
public static Object VALUE_COLORSPACE_ARGB = new Object();
/**
- * Notice to source that we will not use Alpha Channel but
+ * Notice to source that we will not use Alpha Channel but
* we still want RGB data.
*/
public static Object VALUE_COLORSPACE_RGB = new Object();
@@ -70,21 +70,21 @@
*/
public static Object VALUE_COLORSPACE_ALPHA_CONVERT = new Object();
- public static RenderingHints.Key KEY_COLORSPACE =
+ public static RenderingHints.Key KEY_COLORSPACE =
new RenderingHints.Key(9876) {
public boolean isCompatibleValue(Object val) {
if (val == VALUE_COLORSPACE_ARGB) return true;
if (val == VALUE_COLORSPACE_RGB) return true;
if (val == VALUE_COLORSPACE_GREY) return true;
if (val == VALUE_COLORSPACE_AGREY) return true;
- if (val == VALUE_COLORSPACE_ALPHA) return true;
- if (val == VALUE_COLORSPACE_ALPHA_CONVERT) return true;
+ if (val == VALUE_COLORSPACE_ALPHA) return true;
+ if (val == VALUE_COLORSPACE_ALPHA_CONVERT) return true;
return false;
}
};
- public static final String PROPERTY_COLORSPACE =
- "org.apache.batik.gvt.refimpl.filter.Colorspace";
+ public static final String PROPERTY_COLORSPACE =
+ "org.apache.batik.gvt.filter.Colorspace";
public FilterAsAlphaRable(Filter src) {
super(src, null);
@@ -119,13 +119,13 @@
RenderedImage ri;
ri = getSource().createRendering(new RenderContext(at, aoi, rh));
- if (ri == null)
+ if (ri == null)
return null;
CachableRed cr = ConcreteRenderedImageCachableRed.wrap(ri);
Object val = cr.getProperty(PROPERTY_COLORSPACE);
- if (val == VALUE_COLORSPACE_ALPHA_CONVERT)
+ if (val == VALUE_COLORSPACE_ALPHA_CONVERT)
return cr;
return new FilterAsAlphaRed(cr);
1.2 +2 -2 xml-batik/sources/org/apache/batik/swing/JSVGCanvas.java
Index: JSVGCanvas.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/swing/JSVGCanvas.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JSVGCanvas.java 2001/01/23 17:12:41 1.1
+++ JSVGCanvas.java 2001/01/23 22:17:07 1.2
@@ -114,7 +114,7 @@
*
* @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
* @author <a href="mailto:cjolif@ilog.fr">Christophe Jolif</a>
- * @version $Id: JSVGCanvas.java,v 1.1 2001/01/23 17:12:41 tkormann Exp $
+ * @version $Id: JSVGCanvas.java,v 1.2 2001/01/23 22:17:07 tkormann Exp $
*/
public class JSVGCanvas
extends JComponent
@@ -1781,7 +1781,7 @@
/**
* Paints the thumbnail component.
- * @see org.apache.batik.refimpl.util.JSVGCanvas#paintComponent
+ * @see org.apache.batik.swing.JSVGCanvas#paintComponent
*/
public void paintComponent(Graphics g) {