Re: Accessing Paths based on bounds.

"HelderMagalhaes" <[email protected]>
Newsgroups gmane.text.xml.svg.devel
Message-ID <[email protected]>
> Hello all,

Hi wrinkledcheese,


> I want to access all paths that fall within a certain bounds.

Checkout methods such as "getIntersectionList" and "getEnclosureList" (and/or their boolean counterparts, checkIntersection and checkEnclosure) [1]. I believe they offer exactly what you're looking for... ;-)


> I'm hoping there is something in jQuery or D3 that can help me [...]

These are native methods which should already be in most SVG implementations, so no need for add-ons. Note that, nevertheless, you should test them in your target environments, as implementations such as WebKit (Safari/Chrome/etc.) and Gecko (Firefox) have "only" added support for this about 1-2 years ago (so very outdated versions don't have these methods available).


Hope this helps,
 Helder


[1] http://www.w3.org/TR/SVG/struct.html#__svg__SVGSVGElement__getIntersectionList



------------------------------------

-----
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.