Re: [gtk-list] Getting length, in pixels, of a line of text
- From: john giorgio hart bbk ac uk
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Getting length, in pixels, of a line of text
- Date: Tue, 30 Mar 1999 12:45:03 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]