[svg-developers] feDiffuseLighting -- multiple lights

2011-11-08 Thread David Dailey
In the example at http://cs.sru.edu/~ddailey/svg/lighting.svg -- I played a bit with some lighting effects. The example seems to work well in Firefox and Chrome (though not so well in Opera). Given the syntax of the effect, it made me wonder if one couldn't put multiple lights inside the s

RE: [svg-developers] Re: Events when elements overlap

2011-11-08 Thread David Dailey
> Where is getElementByPoint documented? I went looking in > http://www.w3.org/TR/SVG11/struct.html#DOMInterfaces for it but didn't find > it there. http://dev.w3.org/csswg/cssom-view/#dom-document-elementfrompoint Thanks Robert, That seems like a funny place for it to be located. I gue

[svg-developers] Re: Events when elements overlap

2011-11-08 Thread t...@ymail.com
--- In svg-developers@yahoogroups.com, Marty Sullivan wrote: > > If getElementFromPoint is not part of the spec, I would just create a > rect/BBox of the point and then document.getIntersectionList(pointBox, > null). > Thanks for that hint! I wasn't aware of that method.

[svg-developers] Re: Events when elements overlap

2011-11-08 Thread Robert Longson
--- In svg-developers@yahoogroups.com, "David Dailey" wrote: > > Hi Robert, > > > > Where is getElementByPoint documented? I went looking in > http://www.w3.org/TR/SVG11/struct.html#DOMInterfaces for it but didn't find > it there. http://dev.w3.org/csswg/cssom-view/#dom-document-elementfrompo

Re: [svg-developers] Re: Events when elements overlap

2011-11-08 Thread Marty Sullivan
I'm somewhat confused about that method and don't have time to test. Does it return just one element? Does it factor in transforms? [Non-text portions of this message have been removed] - To unsubscribe send a message to: svg-developers-unsubscr...@yah

Re: [svg-developers] Re: Events when elements overlap

2011-11-08 Thread Marty Sullivan
If getElementFromPoint is not part of the spec, I would just create a rect/BBox of the point and then document.getIntersectionList(pointBox, null). [Non-text portions of this message have been removed] - To unsubscribe send a message to: svg-developers

RE: [svg-developers] Re: Events when elements overlap

2011-11-08 Thread David Dailey
Hi Robert, Where is getElementByPoint documented? I went looking in http://www.w3.org/TR/SVG11/struct.html#DOMInterfaces for it but didn't find it there. On that topic, are there illustrations in the test suite anywhere for those methods? Or is there an inventory of which browsers support t

[svg-developers] Re: Events when elements overlap

2011-11-08 Thread Robert Longson
--- In svg-developers@yahoogroups.com, "th_w@..." wrote: > > I think that the SVG API is lacking something like PostScript's insideness > testing operators[1] (7.4 MiB PDF) that tell you whether a point lies inside > a path or whether two paths intersect. (In SVG, this shouldn't be restricted