Re: Resize & Repaint Question

2005-02-14 Thread Steven Huey
Much better! Thanks! On Feb 14, 2005, at 5:11 PM, Thomas DeWeese wrote: Hi Steven, Is there a way to disable the intermediate repainting operations and just repaint one time, when the user has released the mouse button? It doesn't look like the Java API for component resize has a start, middle,

Re: Resize & Repaint Question

2005-02-14 Thread Thomas DeWeese
Hi Steven, Is there a way to disable the intermediate repainting operations and just repaint one time, when the user has released the mouse button? It doesn't look like the Java API for component resize has a start, middle, end, just a changed. However I think that event compression will most

Re: Batik Performance Questions

2005-02-14 Thread Steve Lamont
> I'm happy to report that the recent CVS commits by Thomas have indeed > fixed the performance problems for our app on MacOSX. I'm very happy > to have this fix! I'd like to second that. This performance fix has saved a fairly important project for us. It made an application quite literally us

Re: Structuring an application.

2005-02-14 Thread Tonny Kohar
Hi, > HOW? > Currently all I have is a small app that creates a JSVGCanvas and then > calls setURI() on it to display an image, also there's a JSlider, that > serves no purpose yet, because i can't figure out how to zoom the image. > Reading through the javadoc I gat

Re: Structuring an application.

2005-02-14 Thread Thomas DeWeese
Lasse Riis wrote: I'm about to write a GUI app that displays maps of a building, and draws a point, or circle that indicates a position. (The coordinates for this or these positions will be fetched from a network socket btw.) Can you provide any details on the building maps. Like approx size

Resize & Repaint Question

2005-02-14 Thread Steven Huey
Hello, I've got a somewhat large (2MB) SVG document being displayed in a JSVGCanvas with a JSVGCanvas.ALWAYS_DYNAMIC document state. When I resize the window containing the JSVGCanvas the SVG image is redrawn to fill the window, however since drawing the image takes a few seconds the operation

Re: Add IMAGE from BufferedImage into a loaded SVG Document

2005-02-14 Thread Andres Toussaint
Thomas, thanks, this is a great simple approach. I will give it a try. Just for the record, the approach solution indicated in the initial question does work also, but of course it is not as simple. Andres. On Feb 14, 2005, at 10:59 AM, Thomas DeWeese wrote: Andres Toussaint wrote: My Main quest

Re: Add IMAGE from BufferedImage into a loaded SVG Document

2005-02-14 Thread Thomas DeWeese
Andres Toussaint wrote: My Main question is: How is the best way to add this image into my document? Encode it as a PNG and include it in the xlink:href using the data protocol. This is what the code below does (very indirectly). The code to do this more directly (take from batik.svggen.Im

Structuring an application.

2005-02-14 Thread Lasse Riis
Hello I'm about to write a GUI app that displays maps of a building, and draws a point, or circle that indicates a position. (The coordinates for this or these positions will be fetched from a network socket btw.) I'd like some pointers on how to structure my app. INTRO, (can be skipped)

Re: Batik Performance Questions

2005-02-14 Thread George Armhold
I'm happy to report that the recent CVS commits by Thomas have indeed fixed the performance problems for our app on MacOSX. I'm very happy to have this fix! George Armhold wrote: > I'm glad someone finally came along and got some hard numbers on > this issue. We've had problems with our Batik-bas

Re: idea to show modified source in Batik

2005-02-14 Thread Andreas Neumann
Thomas, thank you for your very quick extension of the squiggle viewer, regarding "Save As" - I tried it and it worked. I also saw that getURL() with gzipped content works again. Thank you very much! There are two ways to look at this 1) What you really want is the DOM so don't touch it!