Method

StThemeNodeget_paint_box

Declaration [src]

void
st_theme_node_get_paint_box (
  StThemeNode* node,
  const ClutterActorBox* allocation,
  ClutterActorBox* paint_box
)

Description [src]

Gets the box used to paint the actor, including the area occupied by properties which paint outside the actor’s assigned allocation. When painting node to an offscreen buffer, this function can be used to determine the necessary size of the buffer.

Parameters

allocation

Type: ClutterActorBox

The box allocated to a ClutterActor.

The data is owned by the caller of the method.
paint_box

Type: ClutterActorBox

Computed box occupied when painting the actor.

The argument will be set by the function.
The data is owned by the instance.