Clutter.Actor.get_default_paint_volume

### Method

# Clutter Actorget_default_paint_volume

#### Declaration [src]

    const ClutterPaintVolume*
    clutter_actor_get_default_paint_volume (
      ClutterActor* self
    )

#### Description [src]

Retrieves the default paint volume for `self`.

This function provides the same `ClutterPaintVolume` that would be computed by the default implementation inside `ClutterActor` of the `ClutterActorClass`.get_paint_volume() virtual function.

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

Available since: | 1.10

#### Return value

Returns: | `ClutterPaintVolume`
| A pointer to the default `ClutterPaintVolume`, relative to the `ClutterActor`, 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 clutter_paint_volume_copy().
| The data is owned by the instance.
| The return value can be `NULL`.