Re: SVG to Java2D

"Daniel Westheide" <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>
Hi Stefan,

you need to create a GVT tree from your SVGDocument. You can then call the GVTNode#paint(Graphics2D) method and pass it your Graphics2D instance you want to have your SVG rasterized on.

See http://wiki.apache.org/xmlgraphics-batik/BootSvgAndCssDom on how to create the GVT tree for your SVGDocument.

I think this should work. :)

Best regards

Daniel
-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
Jetzt informieren: http://www.gmx.net/de/go/freephone
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.