Re: [cairo] Managing LineLayouts



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]