Hi Rob,

Rob Davis-5 <[EMAIL PROTECTED]> wrote on 04/03/2008 06:36:05 AM:

> My requirement is to take an SVG drawing and generate just the SVG of 
the
> elements that exist within a certain region (as defined by a Shape, or a
> Shape derived from a SVG element within the document).

   If you are happy to deal with bounding boxes the SVG standard
provides: SVGSVGElement.getIntersectionList(SVGRect rect, SVGElement 
refElem);

  This will return a NodeList that has all of the elements that
intersect the SVGRect and are before refElem (if not null) in 
drawing (~document) order.

Reply via email to