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:
@ -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
|
||||
|
Reference in New Issue
Block a user