Re: question about pango_cairo_update_layout
- From: Behdad Esfahbod <behdad behdad org>
- To: Wilfried Holzke <pango holzke net>
- Cc: gtk-i18n-list gnome org
- Subject: Re: question about pango_cairo_update_layout
- Date: Fri, 16 Jan 2009 12:51:44 -0500
Wilfried Holzke wrote:
> Hi,
>
> currently I create:
>
> cairoSurface = cairo_image_surface_create_for_data(...)
> cr = cairo_create(cairoSurface);
> PangoLayout = pango_cairo_create_layout(cr);
>
>
> Sometimes I have to resize the cairoSurface, so I need to create a new
> cr (e.g. crB).
>
> my question: do i need to create a new PangoLayout, or is it possible to
> call
>
> pango_cairo_update_layout(cr)
>
> with new cr?
Calling pango_cairo_update_layout() is enough.
> regards
>
> Wilfried
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]