I need some more information to get started. Where do I put my Graphics2D? I see that there are methods to paint in package org.apache.batik.gvt but where do this Graphics2D come from? As you've noticed already, I'm just starting with batik.
Best Regards, Paulo Soares > -----Original Message----- > From: Vincent Hardy [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 15:07 > To: Batik Users > Subject: Re: Rendering SVG to a Graphics2D > > Paulo, > > Paulo Soares wrote: > > > > I'm a developer with the iText library (http://www.lowagie.com/iText) > that > > generates PDF documents. Recently a class that extends Graphics2D was > added > > to the library with the result that anything drawn ends up in the PDF. > Is it > > possible to write an SVG to a Graphics2D and thus generate a PDF? I know > of > > FOP and I could use it to generate a PDF and then import it but I'm > adding > > shading and transparency to the library and that's something that FOP > > doesn't support. > > > > You could build a GVT tree from your SVG document (with the > GVTBuilder) and then paint that tree into your custom Graphics2D. > > Vincent. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]