xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tonny Kohar <to...@kiyut.com>
Subject Re: "Drag" selection box...how to?
Date Tue, 07 Feb 2006 09:25:14 GMT
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: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message