Re: a small plea
| From: | Andrei Zmievski | Date: | Mon, 28 Jan 2002 15:49:23 +0000 |
| Subject: | Re: a small plea | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-339@lists.php.net to get a copy of this message | ||
Can't you just use GdkFont::extents()? (see php_gtk+_types.c).
On Mon, 28 Jan 2002, Steph Fox wrote:
> gdk::text_width() takes the GdkFont, the string, and the strlen($string) as arguments. It
> returns the width of the string in pixels.
>
> We don't have that, or gdk::string_width(), or gdk::char_width(). Any or all would be
> useful.
>
> Any chance?
-Andrei
"Tomorrow the sun will rise. And who knows what the tide will bring?"
- Tom Hanks, in "Cast Away"