Method
Gsk.Renderer.render
Declaration [src]
void
gsk_renderer_render (
GskRenderer* renderer,
GskRenderNode* root,
const cairo_region_t* region
)
Description [src]
Renders the scene graph, described by a tree of GskRenderNode
instances,
ensuring that the given region
gets redrawn.
Renderers must ensure that changes of the contents given by the root
node as well as the area given by region
are redrawn. They are however
free to not redraw any pixel outside of region
if they can guarantee that
it didn’t change.
The renderer
will acquire a reference on the GskRenderNode
tree while
the rendering is in progress.
Parameters
root |
GskRenderNode |
a |
|
Ownership is not transferred to the callee | |
region |
const cairo_region_t* |
the |
|
Can be NULL | |
Ownership is not transferred to the callee |