xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lilley <ch...@w3.org>
Subject Re: [svg-developers] Batik 1.5beta2 release available
Date Tue, 14 May 2002 12:27:08 GMT
On Friday, May 10, 2002, 4:28:08 PM, Jim wrote:

JL> elements created with createElement(..) aren't rendered, but those
JL> created with createElementNS('http://www.w3.org/2000/svg','rect') are,
JL> it's an annoying bug, but not cripplingly so.

Why do you say its a bug? Why would Batik render elements that are not
in the SVG namespace?

JL> getBBox() doesn't work until the element has been added to the document -
JL> you get a nullpointer exception (this isn't surprising) but it's
JL> different to ASV's which very usefully allows you to get the size of an
JL> element before rendering so you can then tweak the position based on the
JL> size.

Hmm. Interesting. The spec should be clear about this synchronization
issue, when exactly the info is available.

 Chris                            mailto:chris@w3.org

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

View raw message