W3C home > Mailing lists > Public > www-svg@w3.org > February 2010

size of text box

From: Immanuel Normann <immanuel.normann@googlemail.com>
Date: Tue, 23 Feb 2010 10:45:11 +0100
Message-ID: <92952f861002230145qeffd7d6va44de0677377e78b@mail.gmail.com>
To: www-svg@w3.org
Hi,

is there a js method to calculate the size of a text box?
The scenario I have in mind: I want to render text in a speech bubble and of
cause the speach bubble size should be adjusted to the text.
(what I am looking for is something like the contentBox  in the dojo
framework).

regards,
Immanuel
Received on Tuesday, 23 February 2010 16:40:55 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:44 GMT