Package: gdk

Function gdk-drawing-context-cairo-context

Lambda List

gdk-drawing-context-cairo-context (context)

Arguments

object -- a gdk-drawing-context object

Return Value

A Cairo context of type cairo-t to be used to draw the contents of the gdk-window object.

Details

Retrieves a Cairo context to be used to draw on the window that created the drawing context.

The returned context is guaranteed to be valid as long as the gdk-drawing-context object is valid, that is between a call to the functions gdk-window-begin-draw-frame and gdk-window-end-draw-frame.

Since 3.22
 

See also

2020-11-12