mass rename and rebranding from xwt to ibex - fixed to use ixt files
[org.ibex.core.git] / src / org / xwt / translators / SVG.java
index 8c22dd0..3e2e780 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright 2003 Adam Megacz, see the COPYING file for licensing [GPL]
+// Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL]
 package org.xwt.translators;
 import java.util.*;
 
@@ -16,7 +16,7 @@ public class SVG {
         props.put("fill", h.get("fill"));
         props.put("stroke", h.get("stroke"));
         if ("visible".equals(h.get("overflow")) || "auto".equals(h.get("overflow")))
-            Log.log(VectorGraphics.class, "warning: overflow={auto|visible} not supported; ignoring");
+            Log.info(VectorGraphics.class, "warning: overflow={auto|visible} not supported; ignoring");
         if (h.get("display") != null) props.put("invisible", new Boolean("none".equals(h.get("display"))));
 
 
@@ -29,7 +29,7 @@ public class SVG {
             String align = st.nextToken();
             if ("defer".equals(align)) align = st.nextToken();
             if (!align.equals("none")) {
-                // FIXME, need to beef up XWT's align property
+                // FIXME, need to beef up Ibex's align property
                 align = "";
                 if (align.startsWith("yMin")) align = "top";
                 else if (align.startsWith("yMax")) align = "bottom";
@@ -147,7 +147,7 @@ public class SVG {
             path = s + (name.equals("polygon") ? "z" : "");
 
         } else {
-            Log.log(VectorGraphics.class, "unknown element in VectorGraphics namespace: " + name);
+            Log.info(VectorGraphics.class, "unknown element in VectorGraphics namespace: " + name);
         }
         props.put("path", path);
         t.keys = new String[props.size()];
@@ -253,7 +253,7 @@ public class SVG {
             public void render(DoubleBuffer buf, int x, int y, int fillcolor, int strokecolor, float scaleFactor) {
                 // FEATURE: make b double-buffered for increased performance
                 if (b == null) {
-                    b = new Box(t, new org.xwt.util.Vec(), new org.xwt.util.Vec(), null, 0, 0);
+                    b = new Box(t, new org.ibex.util.Vec(), new org.ibex.util.Vec(), null, 0, 0);
                     b.put("absolute", Boolean.TRUE);
                     b.prerender();
                     t = null;