Hi to all,
I try to use getIntersectionList. I do it on a SVGSVGElement I get
using:
SVGSVGElement myroot = (SVGSVGElement)
svgCanvas.getSVGDocument().getDocumentElement();
NodeList l=myroot.getIntersectionList(rect, null);
I got an null pointer exception in getIntersectionList:
public NodeList getIntersectionList ( SVGRect rect, SVGElement
referenceElement ) {
SVGSVGContext ctx = (SVGSVGContext)getSVGContext();
List list = ctx.getIntersectionList(rect, referenceElement);
return new ListNodeList(list);
}
because 'ctx' is null (event after rendering has been done). What did I
miss ?
best regards.
--
stéphane conversy
http://www.tls.cena.fr/~conversy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]