Re: [gtk-list] Re: Getting length, in pixels, of a line of text




Great!  Thanks, John, I'll give it a try.

Sorry if this message appears twice, sendmail is sort of screwed up
at home; not sure if my last message made it out.


> 
> Chris Malek <cmalek@aves.etho.caltech.edu> wrote:
> >How can I determine how long a line of text will be, in pixels, in any 
> >given font?
> 
> Hi, you want gdk_text_extents(). Do a grep in gdk, you'll find other related
> and useful functions too.
> 
> John
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 


--
Chris Malek, Sys. Admin.           cmalek@etho.caltech.edu
Division of Biology, 216-76
California Institute of Technology
Pasadena, CA  91125



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