You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Nuno Faria <na...@alfarrabio.di.uminho.pt> on 2002/03/18 12:44:55 UTC

SVG draw...

Hi! Greetings from Portugal...

I'm new with batik so i want to ask u what is/are the classes that just draw
an SVG document? In other words i want to know wich classes validates an SVG
doc and tells to Java2D what has to print?
I want to know this because i have to add aditional features (like the
possibility to not show some group) to all SVG docs that have tags like:
<g id="id1">
  ...
</g>
<g id="id2">
...
</g>

Thanks in advance...





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


RE: SVG draw...

Posted by Thierry Kormann <tk...@ilog.fr>.
> I'm new with batik so i want to ask u what is/are the classes
> that just draw
> an SVG document? In other words i want to know wich classes
> validates an SVG
> doc and tells to Java2D what has to print?
> I want to know this because i have to add aditional features (like the
> possibility to not show some group) to all SVG docs that have tags like:

I am not sure what you want to do. May be, the informations bellow will
help.

The Bridge module takes a DOM and create a GVT tree. A GVT tree is then
rendered via a Renderer and that produces an Image.

If you want to control things that are built, you can easily subclass the
bridges you are interested in, put your new bridges implementation to the
BridgeContext and ask the GVTBuilder to build the GVTTree after that.



Thierry.



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