SVG:Intersection and Enclosure

From MozillaWiki
Revision as of 18:40, 16 September 2010 by Jonathan Watt (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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