Hi Frederik,
I don't there is an easy way to achieve this. Depending on how much you expect to pan around the document you might consider rendering the whole document once at the higher resolution and downsampling for the 'overview' display.
My suspicion is that they just re-render the portion under the 'magnifier'. You should be able to set things up so that the two windows use the same GVT tree which would save you the memory overhead of having two copies of the document in memory. You can look at the Thumbnail stuff in squiggle for an example.
[EMAIL PROTECTED] wrote:
We have a main application that renders a SVG. We also have to create a zoomwindow on that rendered svg in the main application window. This zoomwindow is a floating window. The zoomwindow enlarges the area around the mouse pointer on the main window.
The functionality is more or less the same as in the DWG Viewer "Free DWG Viewer from Brava!" (http://www.infograph.com/products/dwgviewer/)
How could we do this without rendering the svg 2 times?
Thx, Frederik
--------------------------------------------------------------------- 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]
