Hi,

On Fri, 2006-02-03 at 09:06 -0500, Bishop, Michael W. CONTR J9C880
wrote:
> Revisiting this point, I did add a refresh button because it was
> requested.  If I refresh the canvas (using setDocument() instead of
> setURI() since I'm working with a document in memory), it resets the
> view transform.  If the user is zoomed/panned, it gets reset.  Is there
> a way to refresh a document, then restore their view transform?

I am not sure if the method below works
1) you need to get the current view transform before refresh
(setURI/setDocument)
2) Refresh the canvas
3) apply back the transform you acquired before to the canvas after
refreshing

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com


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

Reply via email to