Hi,
I was looking through the JSVGCanvas, JSVGComponent source and I figured
it's complicated for me to understand. All I want to able to do is Offscreen
rendering and manipulate the document. Can someone suggest the batik classes
that I should look into to accomplish my requirements. The Imagetranscoder
is a good solution and I have been using it for a while, but the problem
with that is everytime I called the transcode method it builds up a new tree
and I would like to avoid it as the document is going to be the same except
it's dynamic.

Thanks for any help,
Javid

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 04, 2006 7:36 AM
To: [email protected]
Cc: batik
Subject: Re: Batik offscreen rendering howto?


Hi Javid,

"Javid Alimohideen" <[EMAIL PROTECTED]> wrote on 03/03/2006 08:28:03 PM:

> I have a dynamic renderer in my application to render the svg content
> (offscreen). The rendering works fine but if I make some changes to the
> document the renderer.repaint method doesn't reflect the changes made to
the
> dom.

    It sounds like you didn't build the Rendering trying with the
Bridge set to DYNAMIC.  In this case it won't register listeners
with the Dom tree to keep the GVT tree in sync with the DOM.

    Also the dynamic renderer alone is not sufficient to handle
the 'updates' you need to give it the 'dirty' regions.  Which
is part of what the UpdateManager normally does for you.


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


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

Reply via email to