get_default_paint_volume


Description:

[ Version ( since = "1.10" ) ]
public unowned PaintVolume? get_default_paint_volume ()

Retrieves the default paint volume for this.

This function provides the same PaintVolume that would be computed by the default implementation inside Actor of the ClutterActorClass.get_paint_volume virtual function.

This function should only be used by Actor subclasses that cannot chain up to the parent implementation when computing their paint volume.

Parameters:

this

a Actor

Returns:

a pointer to the default PaintVolume, relative to the Actor, or null if the actor could not compute a valid paint volume. The returned value is not guaranteed to be stable across multiple frames, so if you want to retain it, you will need to copy it using copy.