Hello all, I'm having some difficulty thinking of a way to do this without a lot of programming, and I figured a group dedicated to SVG development might be some assistance.
I want to access all paths that fall within a certain bounds. Let's say I have an SVG that is 20,000 x 20,000 pixels and I have a 'view bounds' of 2800,2400 - 3600,2800(x0,y0 - x1,y1 opposing corners. Either top,left bottom,right or bottom,right - top,left, doesn't matter because I can get either) What I want to be able to do is something along the lines of this pseudo code: for the given svg g element return all path elements for which the d(path data) falls within the bounds of topLeft(2800,2400) bottomRight(3600,2800) Another way to think of it would be: for a given svg g element return all path elements for which the d(path data) contains a secment that is contained within the bounds of topLeft(2800,2400) bottomRight(3600,2800) It would be optimal if I could get paths that have only one segment that falls within the given bounds. I'm hoping there is something in jQuery or D3 that can help me, but anything at all that will point me in the right direction will be awesome. ------------------------------------ ----- 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/

