I get the bounding box of a rect in order to get its x,y coordinates
(box.x and box.y), which I then want to transform with a matrix. The
following works great in adobe's plugin but dies in the batik browser
with "java.lang.Error":

var node = evt.getTarget();
var box = node.getBBox();
var point = document.documentElement.createSVGPoint();
point.x = box.x;
point.y = box.y;
point = point.matrixTransform(matrix);

It dies on the createSVGPoint() call.

Am I doing something wrong? Is this a known problem? If so, is there a
way I can work around it?

batik-1_5beta2
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)

Thanks,
Hans Fugal

-- 
"Everybody is talking about the weather but nobody does anything about it."
        -- Mark Twain

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to