xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruben Fonseca <rubenfons...@di.uminho.pt>
Subject Re: Center and AutoSizing SVG on JSVGCanvas
Date Mon, 16 Apr 2007 14:35:04 GMT
On Fri, 2007-04-13 at 15:59 +0100, Ruben Fonseca wrote:
> On Fri, 2007-04-13 at 06:21 -0400, thomas.deweese@kodak.com wrote:
> > Hi Ruben,
> > 
> >     The Canvas should fit the content to the window if it has a 'viewBox' 
> > attribute.
> > With out a viewBox attribute the canvas doesn't know what part of the 
> > infinite canvas
> > would be appropriate to scale to the window so it uses the identity 
> > transform.
> 
> It worked like a charm!! THANK YOU!!
> 
> Ruben

Hi! Just a small question:

When I zoom in or out, or pan, the canves is not redraw until I release
the mouse button. Is this behaviour expected? Can I make the canvas to
redrawy everytime there is a change like pan or zooming?

Thank you
Ruben


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


Mime
View raw message