SVG:Intersection and Enclosure
This document contains thoughts on the following SVGSVGElement methods:
- getIntersectionList
- getEnclosureList
- checkIntersection
- checkEnclosure
Usecases
1. Implementing a "drag section box" tool in an online drawing application (getIntersectionList and getEnclosureList)
Questions
Do we really want to only include graphics elements in the list? If all of the graphical descendents of a container element will be included in the list, wouldn't it be better to include just the container in the list, and not all of its individual children?
What