createContext

Creates a Cairo context for drawing to window. Note Warning Note that calling cairo_reset_clip() on the resulting cairo_t will produce undefined results, so avoid it at all costs. Since 2.8

static
createContext

Parameters

window Window

a GdkWindow

Return Value

Type: Context

A newly created Cairo context. Free with cairo_destroy() when you are done drawing.

Meta