Re: getting a pango tabarray for a specific line of text
- From: Behdad Esfahbod <behdad behdad org>
- To: Nick Gravgaard <me nickgravgaard com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: getting a pango tabarray for a specific line of text
- Date: Wed, 21 Nov 2007 23:35:46 -0500
On Wed, 2007-11-21 at 22:00 +0100, Nick Gravgaard wrote:
Thanks. I presume then that there must be some way of getting a layout
object for a certain line. I've looked through the documentation but I
can't see how I should do this - how do I do that?
There's not. You can always copy the layout (pango_layout_copy()) and
then set its text to the text of the line, using line->start_index and
line->length.
Nick
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]