Re: SVG to Java2D

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

Works great!

Thanks
Stefan

Am 23.04.2011 14:19, schrieb Daniel Westheide:
> 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
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.