Sorry everybody, the answer was in the JSVGCanvas tutorial :

"In dynamic documents this event is fired only once for the initial rendering"

'o_o

A 12:35 15/07/2003 +0200, Thierry Bissler a écrit :
Hello everybody,

I use a GVTTreeRendererListener to display the current zoom of my SVG graphic : each time the graphic is rendered, I compute and display the new zoom factor in a JComboBox.

This works fine when the document state is set to ALWAYS_STATIC, but not when the document state is ALWAYS_DYNAMIC. It seems that my GVTTreeRendererListener is not told at all the SVG graphic is rendered.

I use the new Batik 1.5, but the problem was the same with 1.5 beta 5.

Does anyone has an idea or a clue about why Batik behaves like this ?

Thanks in advance.

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

Thierry Bissler
Stagiaire CNAM
IMAG-LSR-SIGMA
Tél : 04.76.82.72.57
Fax : 04.76.82.72.87
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to