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.

Received on Thursday, 19 November 2009 17:30:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:24 UTC