Bishop, Michael W. CONTR J9C880 wrote:
This is the approach I took, however I see no way to set a transform.
You can get a JSVGCanvas's transform, but there is no accompanying "set"
method.  So that's where I got stuck and asked for help.

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

hi, michael --

what about get/setRenderingTransform()?  that's what i
use and it works fine for me....

to save an extra refresh, i override the protected method
renderGVTTree() [my app subclasses JSVGCanvas for a number of
reasons] and call setRenderingTransform( thePreservedTransform, false )
just prior to invoking super.renderGVTTree().

sincerely,

--
Scott A. Ruffner, Scientific Programmer/Analyst
Lisberger Lab
W.M. Keck Foundation Center for Integrative Neuroscience
University of California -- San Francisco
513 Parnassus Avenue, Box 0444, S871
San Francisco, CA  94143-0444
415-502-7897

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

Reply via email to