Hi, On Sun, 2006-03-05 at 23:39 -0600, Javid Alimohideen wrote: > Hi Thomas, > Now my offscreen renderer works, I have started to implement the soom and > pan functionality for my display canvas. I think it would be very difficult > to achienve the zoom/pan functionality of JSVGCanvas but I am trying to do > something little close. So, I calculate a scale from the mouse start to end > positions and perform a Scale AffineTransform and update it to the renderer > transform. This is what my code look like:
I am not sure if this will works. Did you call the renderer.updateOffScreen(int width, int height) after setting the transform Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
