Hi Legolas,

    Please redirect further questions on using Batik to 'batik-user' (as 
opposed to 
developing Batik - 'batik-dev').

Legolas Woodland <[EMAIL PROTECTED]> wrote on 02/17/2006 04:46:53 AM:

> Thank you for reading my post.
> How i can get all elements of svg document when i have access to 
SVGDocument object ?

   Use the W3C DOM to traverse the Elements of the Document 
(getFirstChild(),
getNextSibling(), ...) or getNodesByTagNameNS (also part of W3C DOM).

> Does batik provide some facilities to get elements , convert them to 
shape  
> and then convert them to path ?

   This is what Batik does internally.  However your question is too
vague to provide a real answer too.  What elements? Quite a number in
SVG can't be converted to shapes.  Also what is the difference between
a 'shape' and 'path'?

> is there any sample available which helps me to do the above jobs ?

   The source code of Batik it's self?
   Take a look at the batik.bridge package...

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


Reply via email to