i tried adding an onzzom function but i cant make it work..
EventTarget t = (EventTarget)svgRoot;
t.addEventListener("onzoom", new OnZoomAction(), false);
t.addEventListener("onscroll", new OnScrollAction(), false);
private class OnZoomAction implements EventListener {
public void handleEvent(Event evt) {
System.out.println("ZOOM ZOOM!!");
}
}
private class OnScrollAction implements EventListener {
public void handleEvent(Event evt) {
System.out.println("SCROOOOOLLLLL!!");
}
}
nothing happens.. it does not print anything..
--
View this message in context:
http://www.nabble.com/how-to-determine-if-the-canvas-has-been-moved-zoomed-tf4428019.html#a12791224
Sent from the Batik - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]