Re: [cairo] Managing LineLayouts
- From: Behdad Esfahbod <behdad behdad org>
- To: Travis Griggs <travisgriggs gmail com>
- Cc: Cairo Graphics <cairo cairographics org>, pango maillist <gtk-i18n-list gnome org>
- Subject: Re: [cairo] Managing LineLayouts
- Date: Mon, 09 Aug 2010 18:19:43 -0400
On 08/09/10 13:12, Travis Griggs wrote:
>
> When using the pango_layout_get_line() function, does it alloc a new
> structure and return the pointer to it? Or is it the case, that the
> structure is managed by the Layout or Iterator, and when those are
> freed, the internal LineLayout structures are freed?
The line is *owned* by the layout, but you can reference it:
pango_layout_line_ref().
behdad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]