On Sun, Mar 28, 2004 at 03:59:42AM -0500, Glen Mazza wrote:
> 
> Looking at the JSVGViewerFrame of the Squiggle application [1], method 
> gvtRenderingPrepare() appears to be called whenever the user resizes the 
> Squiggle window and a redraw occurs.  Perhaps that is what you're 
> looking for.
> 
> Glen
> 
> [1 - line 2132]  
> http://cvs.apache.org/viewcvs.cgi/xml-batik/sources/org/apache/batik/apps/svgbrowser/JSVGViewerFrame.java?annotate=1.101


And... here we've found the problem.  This is what I tried to do, and it
works as you describe in batik-1.5.  However, it seems to be broken in
batik-1.5.1 (and CVS).

In 1.5.1 and cvs, it calls the gvtRenderingCompleted method after the first
rendering is completed, but not after subsequent re-renderings.  You can see
this problem in Squiggle by watching the status bar: in 1.5.0, it says it's
re-rendering things everytime you resize the window; in 1.5.1, it only says
that when the document is first loaded.

Now the question is: do I dig into it myself (probably), or wait 'til Thomas
or someone else fixes it for me? ;-)


Ciao,
Bibek

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

Reply via email to