set_from_allocation
Description:
Sets the PaintVolume from the allocation of actor
.
This function should be used when overriding the ClutterActorClass.get_paint_volume
by
Actor sub-classes that do not paint outside their allocation.
A typical example is:
static gboolean
my_actor_get_paint_volume (ClutterActor *self,
ClutterPaintVolume *volume)
{
return clutter_paint_volume_set_from_allocation (volume, self);
}
Parameters:
this | |
actor |
a Actor |
Returns:
|