Hi,
On Mon, 2007-01-15 at 07:45 -0800, vyang wrote:
> Well I use JSVGCanvas so it seems its already booted. But I was just
> wondering why the document I created in SAXSVGDocumentFactory returns null,
> while the one I retrieve from canvas works fine. Both documents do load the
> correct mage when it is set.
Because using DocumentFactory does not boot the SVG and CSS so you will
get NULL, but JSVGCanvas after loading the document using
DocumentFactory, the JSVGCanvas add additional operation which is boot
svg and css.
> Could you also explain getEnclosureList(), I looked at the api(at least the
> one I found in SVGOMSVGElement - SVGElement page/link not working) but it
> was vague.
>From SVG Specification
getIntersectionList
Returns the list of graphics elements whose rendered content
intersects the supplied rectangle, honoring the 'pointer-events'
property value on each candidate graphics element.
getEnclosureList
Returns the list of graphics elements whose rendered content is
entirely contained within the supplied rectangle, honoring the
'pointer-events' property value on each candidate graphics
element.
Regards
Tonny Kohar
--
Sketsa
SVG Graphics Editor
http://www.kiyut.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]