You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Philippe Converset <pc...@Qarbon.com> on 2001/06/28 16:05:21 UTC

updating a GraphicsNode tree

Hi,

The GVT package seems marvelously suitable to my needs but I've got a basic 
problem.
I create from scratch a GraphicsNode tree containing some shapes and render 
it in a JGVTComponent. When I try to add a GraphicsNode in the tree after 
it has been rendered once, the JGVTComponent does not show up the new 
GraphicsNode even if I call repaint(). Is there a cache somewhere I need to 
reset?

Thanks for your help.

Philippe


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


Re: updating a GraphicsNode tree

Posted by Thierry Kormann <tk...@ilog.fr>.
On Thursday 28 June 2001 16:05, Philippe Converset wrote:
> Hi,
>
> The GVT package seems marvelously suitable to my needs but I've got a basic
> problem.
> I create from scratch a GraphicsNode tree containing some shapes and render
> it in a JGVTComponent. When I try to add a GraphicsNode in the tree after
> it has been rendered once, the JGVTComponent does not show up the new
> GraphicsNode even if I call repaint(). Is there a cache somewhere I need to
> reset?

I don't remember if you already get any answer but here is my 2 cents.
At this time, GVT and more importantly the Renderer used to paint a GVT tree 
have not been designed to support modification/animation. In fact, the 
feature is not explicitly documented but mostly everything is here.

May thomas can point you some tips and tricks about how to reset properly the 
cache of the renderer. Otherwise, you have to wait a little bit we start 
commiting things regarding on the animation/scripting of SVG.

Thierry.


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