Top | ![]() |
![]() |
![]() |
![]() |
ClutterActor * | meta_shaped_texture_new () |
void | meta_shaped_texture_set_create_mipmaps () |
gboolean | meta_shaped_texture_update_area () |
CoglTexture * | meta_shaped_texture_get_texture () |
void | meta_shaped_texture_set_mask_texture () |
cairo_surface_t * | meta_shaped_texture_get_image () |
MetaShapedTexture implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface and MetaCullable.
void meta_shaped_texture_set_create_mipmaps (MetaShapedTexture *stex
,gboolean create_mipmaps
);
gboolean meta_shaped_texture_update_area (MetaShapedTexture *stex
,int x
,int y
,int width
,int height
);
Repairs the damaged area indicated by x
, y
, width
and height
and potentially queues a redraw.
CoglTexture *
meta_shaped_texture_get_texture (MetaShapedTexture *stex
);
void meta_shaped_texture_set_mask_texture (MetaShapedTexture *stex
,CoglTexture *mask_texture
);
cairo_surface_t * meta_shaped_texture_get_image (MetaShapedTexture *stex
,cairo_rectangle_int_t *clip
);
Flattens the two layers of the shaped texture into one ARGB32 image by alpha blending the two images, and returns the flattened image.
struct MetaShapedTexture;
The MetaShapedTexture structure contains only private data and should be accessed using the provided API
“size-changed”
signalvoid user_function (MetaShapedTexture *metashapedtexture, gpointer user_data)
Flags: Run Last