You want to 'getRenderingTransform' before you load the new document, and 'setRenderingTransform' any time after the gvtTreeBuild is completed (I'm pretty sure this will let your transform "win", if not I know gvtRenderingCompleted will work - but you might get 'flashing').
Chris Cruzdal wrote:
Hi,
I just realized that I was probably a bit too fuzzy in explaining my problem. Hence, the following clarification: I am using a Swing applet, and I have a set of JButtons which do actions on a JSVGCanvas. I.e. there is a Zoom button which zooms by fixed amounts, and so on. Additionally, I have a pan and a zoom interactor on the JSVGCanvas, to zoom an pan with the mouse as well. Basically, what I want is the loadSVGDocument() method not to fit the new SVG document to screen, but to place it as the old one, given the fact that the dimensions of both are equal.
Thanks, I appreciate it. =)
Chris -- Chris Cruzdal
Note: forwarded message attached.
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
