Re: submit preserveAspectRatio stuff

2004-08-27 Thread Tonny Kohar
Hi, > I will try and look at this shortly. Updating to the new > License would be good. Thanks! I just upload the new file to bugzila id: 30580. It is the same file just change the header to Apache License 2. When the patch is accepted I also would like to update - SVGOMUseElement - SVGOMVi

Re: Performance of Batik.dom.svg.SVGOMDocument.getById()

2004-08-27 Thread Thomas DeWeese
Cameron McCormack wrote: Ah I see, the SVGSVGElement.getElementById (which I hadn't noticed existed) restricts to the subtree. 2) Adding/removing elements/subtree's. Someone can add a whole subtree to a document and all those nodes need to have their id's added, also when a subtree is removed

Re: extending AbstractGraphics2D

2004-08-27 Thread Thomas DeWeese
Hi John, There is nothing that should need to be done for this. The only thing I can think of is using getPaint instead of getColor (we tend to set Paint's instead of setting Color's since SVG can have patterns and gradients). The baseclass implementation keeps these in sync for Paint objects

Re: Performance of Batik.dom.svg.SVGOMDocument.getById()

2004-08-27 Thread George Armhold
Sieker, Fritz wrote: > I used Jprobe and found that the biggest time sink was in > Batik.dom.svg.SVGOMDocument.getById(). > > [ ... ] > > As an experiment, I replaced the scan of "protected static Element > getById(String id, Node node)" by a hash table. > > [ ... ] > > The results were dramatic, w