Hi V,

   You might try setting the viewBox attribute on the second canvas.  Also 
if you
are working in a custom app I think you can do this mostly by copying the 
rendering transfrom from the source canvas and setting it on the 
destination
canvas (this might not work quite right if the windows aren't the same 
size but
then it get's questionable what it means to "copy the zoom").

vyang <[EMAIL PROTECTED]> wrote on 12/11/2006 11:28:15 AM:

> I was wondering if there is a easier way of copying my zoom in item/area 
from
> one JSVGCanvas to another JSVGCanvas other than having to apply the
> transformation to the document itself in the new canvas.  For example: I
> have a rectangle in canvas1 and I zoomed in to one corner of the 
rectangle
> using canvas ctrl + click zoom.  Then I open up a new canvas and I want 
to
> bring the exact same view to canvas2.  Is there an easy way of doing 
that? 
> Any suggestions would be much appreciated.  Thanks in advance.
> -- 
> View this message in context: http://www.nabble.com/Zoom-Copying-
> tf2795122.html#a7798019
> Sent from the Batik - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to