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 Leo Lim <le...@fedex.com> on 2007/04/18 00:46:15 UTC

controlling zooming

Hi,

 

Is there a way to control zooming in such a way that the resultant zoom
image

wouldn't go out of bounds of the window? I'm particularly concerned with the

lasso ("rubber band") zoom in specifically at the edges of the svg image. 

When zooming out again using JSVGCanvas ZoomOut Action, the resulting

image tends to be misaligned and no longer centered in the window.

 

Thanks for your help.

 

Leo