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 Vijaya Kumar <vi...@businex.com> on 2001/10/18 10:33:33 UTC

Where it is?

        Can anybody tell me where the xml contents are converts to graphics in the Batik source. i.e) I need to see which class files retrives the svg (xml) tag from svg file say (<text x=10 y=20> Value </text> ) is transformed to text at the specific location.

Thanx
Vijay

Re: Where it is?

Posted by Thierry Kormann <tk...@ilog.fr>.
On Thursday 18 October 2001 10:33, Vijaya Kumar wrote:
>         Can anybody tell me where the xml contents are converts to graphics
> in the Batik source. i.e) I need to see which class files retrives the svg
> (xml) tag from svg file say (<text x=10 y=20> Value </text> ) is
> transformed to text at the specific location.

First we create a dom (using the classes in the batik/dom/svg classes).

Then we are using the bridge package to convert a SVG DOM tree to a GVT Tree. 
GVT stands for Graphics Vector Toolkit (a tree used to render svg content 
using the Java2D API - package batik/gvt/).

Finally, we are using the batik/gvt/renderer package to render a GVT tree and 
so create a BufferedImage.

Good luck.

Thierry.


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