Chris Cruzdal wrote:
I have another question, this time regarding how it is
possible to enable rendering the _whole_ SVG document
and not just the originally visible _part_ when
panning. I am using Batik in an applet to dispay quite
large graphs, thus the users need to pan the document.
This works perfectly, but I cannot figure out how I
can make the JSVGCanvas (well, I am overriding a few
methods there, so it is a subclass of JSVGCanvas)
render the document in such a way that users can see
what will be visible after panning, and not only what
was visible before panning.
This is done because it can be quite expensive to
try and do this 'live' - however for simple images
like graphs this probably isn't a big deal.
You will need to replace the pan interactor from
batik.swing.gvt with an implementation that uses
'setRenderingTransform' instead of 'setPaintingTransform'.
In other words, I am looking for something like the
"Show window contents while dragging." in Windows.
This will probably perform better for 'static' documents
compared with dynamic documents.
Help appreciated, thanks a lot,
Chris
--
Chris Cruzdal
__________________________________
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]