You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by "Caron, Michael R" <mi...@lmco.com> on 2005/02/01 00:45:05 UTC

Auto resize?

The JSVGComponent seems to redraw the SVG on any resize event. How do I
prevent this?

Mike

Re: Auto resize?

Posted by Thomas DeWeese <Th...@Kodak.com>.
Caron, Michael R wrote:

> The JSVGComponent seems to redraw the SVG on any resize event. How do I 
> prevent this?

     Well, it has to redraw for any resize event (otherwise there
will be blank parts on the sides).  I suspect you are objecting
to the 'resize' of the content when the window is resized.

     This can be turned off by calling setRecenterOnResize(false).


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