Hi, On Tue, 2006-02-07 at 12:41 +1100, Cameron McCormack wrote: > Tonny Kohar: > > We have similar problem for our Sketsa SVG Graphics Editor. > > We solve the problem by > > 1) Traverse or Iterate the DOM tree > > 2) compare each element bbox with the selection box > > You could also use SVGSVGElement.getIntersectionList, which currently > uses just the same approach.
Yup, this is good idea. Previously, this method SVGSVGElement.getIntersectionList is not available only stub. I think since batik 1.5 (not sure) this method is implemented. I think I am gonna change my code to use this method instead :) Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]