xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Westheide" <daniel.westhe...@gmx.de>
Subject Re: SVG to Java2D
Date Sat, 23 Apr 2011 12:19:55 GMT
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

NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
Jetzt informieren: http://www.gmx.net/de/go/freephone

To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org

View raw message