-// 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.*;
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"))));
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";
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()];
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;