Method
GtkSnapshotto_paintable
Declaration [src]
GdkPaintable*
gtk_snapshot_to_paintable (
GtkSnapshot* snapshot,
const graphene_size_t* size
)
Description [src]
Returns a paintable encapsulating the render node
that was constructed by snapshot.
After calling this function, it is no longer possible to
add more nodes to snapshot. The only function that should
be called after this is g_object_unref().
Parameters
size |
graphene_size_t |
The size of the resulting paintable
or |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. |
Return value
| Returns: | GdkPaintable |
A new |
|
| The caller of the method takes ownership of the data, and is responsible for freeing it. |