Hello Thomas,
see my comments inline
[EMAIL PROTECTED] wrote:


I would suggest looking at the code in batik.transcoder.SVGAbstractTranscoder, in particular around the
call 'setViewingTransform'.  This is in some sense the 'correct'
way to handle this.
I see transcode method which does setViewingTransform. And I've got two questions 1. transcode method is applied to every GraphicsNode in GVTTree or applying it to root node is enough? 2. setViewingTransform is the method of type CanvasGraphicsNode and I get a ClassCastException when casting GraphicsNode

Nothing happens for the code below, the condition is false
       if (gvtRoot instanceof CanvasGraphicsNode){
           ((CanvasGraphicsNode)gvtRoot).setViewingTransform(Px);
       }


Nazar

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

Reply via email to