In FOP we convert SVG (or rather vector graphics in general) into
various output formats (PDF, PS, GOCA, HP/GL2). For that we "simply"
write Graphics2D implementations. When you have that, you can write a
Transcoder subclass that uses that Graphics2D implementation to convert
the SVG with the same API that Batik provides. If you don't have to do
anything SVG-specific, that's most likely the easiest route. Examples
for that are PSDocumentGraphics2D in XML Graphics Commons, or various
other Graphics2D implementations inside FOP. HTH

On 28.01.2009 15:47:20 Marek Scholaster wrote:
> Hello,
> I'm new to Batik and would like to know whether Batik can help me with 
> my problem and if so, where to start.
> 
> I need to write a conversion program from SVG to my custom format 
> (vector based, only a few shapes, no transformations)
> In addition I need to handle different layers differently (  <g 
> id="layer1">  )
>  
> Basically I need the svg document in a state where all transformations 
> are resolved and there is still information about layer of each shape.
> 
> Thank you for any help,
> Marek Scholaster



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to