Re: getBBox() returns null

fireball <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>
I think I might know what is happening. Correct me if I am wrong.

The BBox is computed after the text is rendered. And my understanding of
rendering is that it happens when the text element is added to the canvas. 

What I am trying to do here is load an SVG file into a document, set some
properties and then add it into the canvas. Since I am trying to set
properties before adding to canvas, BBox is not computed yet.

Is there a way to do that before adding to canvas?



--
View this message in context: http://batik.2283329.n4.nabble.com/getBBox-returns-null-tp4655273p4655276.html
Sent from the Batik - Users mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.