Hi,

I am trying to use SVGCanvas to display a SVG document which I have built using the Batik API. I have both the zoom and pan interactors enabled and they work fine.

However, there are two things I would like to be able to do:

1) How can I prevent the zoom from reducing the transformed image below a certain size. For example, if the document was displayed in full, I would like to be able to zoom in to various sections of it, but not zoom out beyond its original size?

2) How, when panning the image to right, can I detect that the lefthand edge of the image bounding box has reached the lefthand edge of the viewport, and reset the panned position so that it now appears to pan in from the left (wrap-around) and vice versa. Similarly, for panning up and down?

Regards, Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to