[svg-developers] Re: question about intersections

2006-04-25 Thread Andreas Neumann
> > > A checkInclude (element, rect) would also be nice yes, I can see even more methods in the same realm. Maybe something to add for a future version (SVG 1.2 full, 1.3 or 2.0) > Yes this is a problem. It is a very important feature for > developing Graphic editors yes definitely

[svg-developers] Re: question about intersections

2006-04-25 Thread jophof007
Hi, We need intersecitons a lot of times to make our diagram editors and we use the Kevin Linssey library for it. See his library 2d.js (intersections of every possible SVG elements including Path). John Ophof http://open-modeling.sourceforge.net --- In svg-developers@yahoogroups.com, Jean-David

Re: [svg-developers] Re: question about intersections

2006-04-25 Thread Jean-David Benamou
Andreas Neumann wrote: >yes, > >the SVGSVGElement has two methods: > >SVGSVGElement.checkIntersection( element, rect ) >and >SVGSVGElement.getIntersectionList( rect, referenceElement ) > >the first method returns a boolean, the second method returns a nodeList > > > A checkInclude (element, rect

[svg-developers] Re: question about intersections

2006-04-25 Thread Andreas Neumann
yes, the SVGSVGElement has two methods: SVGSVGElement.checkIntersection( element, rect ) and SVGSVGElement.getIntersectionList( rect, referenceElement ) the first method returns a boolean, the second method returns a nodeList see more at http://phrogz.net/ObjJob/search.asp?langID=1&q=intersect