Method

GtkSnapshotappend_cairo

Declaration [src]

cairo_t*
gtk_snapshot_append_cairo (
  GtkSnapshot* snapshot,
  const graphene_rect_t* bounds
)

Description [src]

Creates a new GskCairoNode and appends it to the current render node of snapshot, without changing the current node.

Parameters

bounds const graphene_rect_t*
 

The bounds for the new node.

 The data is owned by the caller of the function.

Return value

Returns: cairo_t*
 

A cairo_t suitable for drawing the contents of the newly created render node.

 The caller of the method takes ownership of the data, and is responsible for freeing it.