Hi Naveed, noni_4444 <[EMAIL PROTECTED]> wrote on 10/01/2007 06:22:26 AM:
> In order to achieve better performance, i am directly modifying the GVT > Tree "Inside the UpdateManager's thread", however the when i move an > external window over the svg canvas, the GVT tree does not repaint itself. Right the canvas uses it's offscreen buffer to update the screen. > All of the contents which i draw using GVT nodes are erased. I suspect that > we need to do some sort of repainting which is not required when we do > changes through DOM. Well none of your changes are persisted anywhere, they only exist while you are doing the actual drawing. If you updated the transform/coords of the Graphics Node then you wouldn't need to do any drawing and everything would happen correctly. > How does the repainting of GVT tree work? When a GraphicsNode is changed it registers a dirty region with the UpdateTracker which the UpdateManager then uses to know what regions of an offscreen buffer need to be repainted by the GVT tree... > How can i make changes to the GVT persistent? Actually change the GVT by calling one or more of the 'setXXX' methods on the GraphicsNodes.