cairo-texture: Add the :auto-resize property

Keeping the backing Cairo surface of a CairoTexture canvas in sync with
the actor's allocation is tedious and prone to mistakes. We can
definitely do better by simply exposing a property that does the surface
resize and invalidation automagically on ::allocate.
This commit is contained in:
Emmanuele Bassi
2011-07-26 14:53:26 +01:00
parent 301551aacf
commit 7f8838d7cc
4 changed files with 129 additions and 5 deletions

View File

@ -1756,6 +1756,8 @@ ClutterCairoTextureClass
clutter_cairo_texture_new
clutter_cairo_texture_set_surface_size
clutter_cairo_texture_get_surface_size
clutter_cairo_texture_set_auto_resize
clutter_cairo_texture_get_auto_resize
<SUBSECTION>
clutter_cairo_texture_create