RE: get a string's width in unit of pixel

Not exactly. In the same width in unit of pixel, different letter can have different count.

-----Original Message-----
From: manu aradhya [mailto:manu_aradhya yahoo co in] 
Sent: 2003年11月6日 13:53
To: Liu Neo-W4135C
Cc: gtk-app-devel-list gnome org
Subject: Re: get a string's width in unit of pixel

 check the font size ur using, that font size
multiplied by number of chracters in the strings gives
u string width in pixels,ok.

--- Liu Neo-W4135C <W4135C motorola com> wrote: >
i'm a newbie in GTK world and want to know how to
get a string's width in unit of pixel( there should
be a way, right).
your kindly response will be greatly appreciated.
thanks in advance and  best regards,
Liu, Nian

Yahoo! India Mobile: Download the latest polyphonic ringtones. Go to

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]