Zach DelProposto wrote:
Thanks for your replies!

I made it work with the classes JSVGScrollCanvas and with the
JSVGViewport done by Zachary DelProposto!! Greetings to Zach.


thanks

if people are interested, I have a newer version with fewer bugs, that
works better with batik 1.5. It also (I don't think the old version does?)
fixes a problem with 'too many' updates via the scrollbars.

However, Batik has an annoying habit of changing the viewbox transform to
fit the SVG into the viewbox (even if the SVG is already zoomed), which I
plan to work-around soon. This causes improper translation of the image
when the window is resized.

The canavs tries to keep the center point the center point, the magnification does change a bit usually but the center of the canvas should stay the center of the canvas. Anyway this should be fairly easy to change just override updateRenderingTransform.



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



Reply via email to