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 [email protected], Jean-David Benamou
<[EMAIL PROTECTED]> wrote:
>
> 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) would also be nice ....
> 
> >see more at
http://phrogz.net/ObjJob/search.asp?langID=1&q=intersect or in the SVG 
> >spec.
> >
> >The problem is that currently (correct me if I am wrong) only Batik
implements these 
> >methods.
> >
> >  
> >
> Yes this is a problem. It is a very important feature for
> developing Graphic editors
> 
> >For the other viewers that don't support these methods you would
have to test it yourself 
> >using javascript. You would first test the boundingboxes and if it
matches test the 
> >coordinates themselves.
> >
> >  
> >
> 
> and for complex document that may prove really slow ....
> 
> >
> >
> >
> >  
> >
>







-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to