Thank you Thomas, I was feeling a little bit incapable ;-p

I tried to use the ShapeNode as follows:


BridgeContext bc = ((JSVGCanvas)c).getUpdateManager().getBridgeContext();
GraphicsNode gn = (GraphicsNode)bc.getGraphicsNode(element);

StrokeShapePainter ssp = new StrokeShapePainter(gn.getOutline());
ssp.setStroke(new BasicStroke(...whatever...));

ShapeNode sn = new ShapeNode();
sn.setShapePainter(ssp);


..but it doesn't update the element :-(
I actually render everything on a JSVGCanvas with the default 
http://xmlgraphics.apache.org/batik/using/swing.html Swing components .


I'm not really experienced, so... help me please :-)




-- 
View this message in context: 
http://www.nabble.com/Dynamic-Elements-on-zoom-tp23584458p23781590.html
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to