ping



mistercaste wrote:
> 
> Thanks for the answer Thomas.
> I get the 'onzoom' event working with the following code:
> 
> 
> NodeList svgNodeList =
> canvas.getSVGDocument().getElementsByTagName(org.apache.batik.util.SVGConstants.SVG_SVG_TAG);
> for(int i=0 ; i<svgNodeList.getLength() ; i++){
>      EventTarget r = (EventTarget)svgNodeList.item(i);
> 
>      t.addEventListener("SVGZoom", new OnZoom(), false);
> }
> 
> ...
> 
> public class OnZoom implements EventListener{ 
> 
>      @override
>           public void handleEvent(Event evt){ 
>                System.out.println("Zoom event catched!");
>           }
> }
> 
> 
> I also have the lines with same widths divided in groups in my DOM.
> Now the problem is that I don't know how to set the stroke-width value
> according to the actual zoom size.
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Stroke-size-tp27837302p27902982.html
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org

Reply via email to