Hi,
I used the example given in the batik web page to display an svg file
using a jsvgcanvas
(http://xmlgraphics.apache.org/batik/using/swing.html). All is ok, when
the window is resized, the svg is resized to.
Then, I have to add interact whith the svg. What I have to do is only
change color of some elements. So, I create an jsvgcanvas and set the
documentState to "JSVGCanvas.ALWAYS_DYNAMIC". All works fine to change
the colors, but when the window is opened, the svg fit the window but is
not resized when the window is resized. It seems to be because of
"JSVGCanvas.ALWAYS_DYNAMIC", when I do not use this parameter, the svg
is resized (of course, I loose the interaction).
I don't know how to do to use both.
Any idea ?

Nicolas Krieger


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

Reply via email to