Re: Computing character height
- From: Emmanuel Pacaud <emmanuel gnome org>
- To: Antonio Vieiro <antonio antonioshome net>
- Cc: gtk-i18n-list gnome org
- Subject: Re: Computing character height
- Date: Tue, 12 Mar 2013 10:03:33 +0100
Le lundi 11 mars 2013 à 18:34 +0100, Antonio Vieiro a écrit :
pango_layout_iter_get_char_extents(iter, &extents);
Have a look at the documentation, this function returns the logical
extents of the current character.
If you want to get the ink extents, use
pango_layout_iter_get_cluster_extents.
Emmanuel.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]