Hello!

I want to have my zoom into the choosen area on a Button-Click (a Listener). So i can choose my area and on buttonclick it should zoom into that area (and not instantly like it's implemented in the standard-batik-features). I load my svg-File (it's a map of the world) and i can choose an area with my mouse. I have the top-left coordinates (x1,y1) and the bottom-right (x2,y2) of my choosen area. Now i thought there is some Code-Sample to zoom into this area. I searched in the internet and in the sourcecode of Batik, but i found nothing..

Can anybody help me? and show me an example how to zoom into my choosen Area? PS: I have made a ViewBox-Transform for the coordinates, so that the Point 0,0 is the top-left of the svg-File and not of the JSVGCanvas.

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

Reply via email to