batik-users@xmlgraphics.apache.org
[Top] [All Lists]

anchoring zooming

Subject: anchoring zooming
From: Leo Lim
Date: Fri, 08 Jun 2007 16:50:30 -0500

Hi,

 

I’m trying to make conventional zooming using JSVGCanvas ZoomInAction as well

as the default rubber band zoom work together in batik.

 

The current problem I have is that after zooming in using a rubber band zoom on the

corners of my svg document and subsequently zooming out using JSVGCanvas

ZoomOutAction, the document tends to drift off center. Is there a way to anchor

the svg document during these zoom in/zoom out operations such that they

won’t be off center?

 

Thank you very much.

 

Leo

<Prev in Thread] Current Thread [Next in Thread>