Thank you both for your reply.
I looked at the steps link, Cameron-  it helped.
Following on that question, I am trying to parse an SVG file using a very light parser. - so I get all the elements and attributes in the SVG file. Now I need to stored it in some local data structure which can go as an input to the renderer.
I was going through the GVT classes. Can you tell me how the SVG document is stored for the rendering process.
 
Thanks a lot,
Sandy.

Cameron McCormack <[EMAIL PROTECTED]> wrote:
Hi Sandy.

Sand Print:
> I am new to Batik and have just started exploring it.
> I am trying to understand the sequence of steps that the SVG file goes
> thru to get rendered as an image.
> When the SVG file gets parsed, how is it stored and how does the
> renderer get this data? What I mean is that is it stored as some
> datastructure that the renderer accepts?
>
> Urgently require an answer. Pls help.

Have a look at the JavaDoc for the JSVGComponent class. It explains
the steps taken when an SVG document is loaded.

http://xml.apache.org/batik/javadoc/org/apache/batik/swing/svg/JSVGComponent.html

Cameron

--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!

Reply via email to