Hi, I have loaded a SVG image and showing it on screen using Batik and Java. I can move/rotate/scale the entire documet with setRenderingTransform, but how do I move/rotate/scale a single node (for example a "g" tag) in the document?
This code doesn't generate any errors but I don't see any changes on screen: SVGOMGElement g = (SVGOMGElement)node; SVGAnimatedTransformList atl = g.getTransform(); trans.setRotate((float)(-60*Math.PI/180),(float)200.0,(float)300.0); atl.getBaseVal().appendItem(trans); I have also tried calling "repaint();" afterwards but it doesn't help. Regards, Daniel ------------------------------------ ----- To unsubscribe send a message to: [email protected] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ----Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

