Hi, We also need to render the svg of the main application on a screen of 30 metres. When I render an svg on a jpanel of 5000 pixel I already get a OutofMemory exception. Is this normal?
-----Original Message----- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: zaterdag 21 augustus 2004 2:24 To: Batik Users Subject: Re: Zoomwindow on SVGCanvas 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.740 / Virus Database: 494 - Release Date: 16/08/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.740 / Virus Database: 494 - Release Date: 16/08/2004 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]