X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Forg%2Fxwt%2Ftranslators%2FSVG.java;h=3e2e780af0f86d78e094746368a10becc5f66817;hb=3591b88b94a6bb378af3d4abe6eb5233ce583104;hp=958d7a57bd99141db09c300352b6c4ca4481f7a8;hpb=e497cb520e0a5ef7de3db0f515af1822afb6a7a6;p=org.ibex.core.git diff --git a/src/org/xwt/translators/SVG.java b/src/org/xwt/translators/SVG.java index 958d7a5..3e2e780 100644 --- a/src/org/xwt/translators/SVG.java +++ b/src/org/xwt/translators/SVG.java @@ -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.*; @@ -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"; @@ -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;