xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott A. Ruffner" <sruff...@phy.ucsf.edu>
Subject Re: "Refreshing" the JSVGCanvas...
Date Tue, 07 Feb 2006 19:44:13 GMT
Bishop, Michael W. CONTR J9C880 wrote:
> I guess it would work.  What is the difference between the rendering transform and the
view box transform?  I just want the JSVGCanvas to be zoomed/panned as it was...I imagine
this will do that?
> Michael Bishop

hi, michael --

if you look at the code for the "zoom", "pan" and "rotate" interactors
that come with JSVGCanvas, you'll discover that what they change is
the canvas's "rendering transform".  so, if you can preserve that
when you update your SVG document, then you will preserve the effects
of any previous zoom/pan/rotate's that the user executed...

Scott A. Ruffner, Scientific Programmer/Analyst
Lisberger Lab
W.M. Keck Foundation Center for Integrative Neuroscience
University of California -- San Francisco
513 Parnassus Avenue, Box 0444, S871
San Francisco, CA  94143-0444

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

View raw message