xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harry Kao <ha...@hairycow.name>
Subject Re: error casting to SVGSVGElement
Date Sat, 05 Jun 2010 14:50:42 GMT
On Sat, Jun 05, 2010 at 04:35:34PM +1000, Cameron McCormack wrote:
> If you do need to do some SVG DOM specific stuff on the document (e.g.
> you want to build its corresponding graphics tree so that you can call
> getBoundingBox() on some elements) then you need to use the
> SVGDOMImplementation rather than the GenericDOMImplementation.  That
> DOMImplementation will create an SVGDocument whose root element will
> implement SVGSVGElement.

Thanks Cameron, that did the trick.

Sat Jun 5 07:50:25 PDT 2010

To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org

View raw message