W3C home > Mailing lists > Public > www-svg@w3.org > November 2009

Re: Again with the getIntersectionList()

From: Jonathan Watt <jwatt@jwatt.org>
Date: Thu, 19 Nov 2009 18:30:10 +0100
Message-ID: <4B0580A2.3060109@jwatt.org>
To: Jeff Schiller <codedread@gmail.com>
CC: Alex Danilo <alex@abbra.com>, www-svg <www-svg@w3.org>
On 2009-11-08 3:42 AM, Jeff Schiller wrote:
> All of this discussion misses the fact that we are not hit-testing a
> point, we have to hit-test a rectangle for checkIntersection.  This
> means we really need to determine if the sides of the rectangle
> intersect any shape's fill or stroke depending on the value of
> pointer-events on that shape.  Doesn't that make it a totally different
> algorithm altogether?

Note that interpreting "intersects" as "intersects the sides of" would imply
that getIntersectionList only returns elements that actually intersect the
perimeter of the given rectangle - NOT elements that are fully inside the rectangle.

Jonathan
Received on Thursday, 19 November 2009 17:30:46 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:43 GMT