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-t Cairo context 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 gdk:window-begin-draw-frame and gdk:window-end-draw-frame functions.

Since 3.22
 

See also

2023-3-10