Package: gdk

Class gdk:drawing-context

Superclasses

gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

clip
The clip property of type cairo:region-t (Read / Write / Construct Only)
The clip region applied to the drawing context. Since 3.22
window
The window property of type gdk:window (Read / Write / Construct Only)
The window that created the drawing context. Since 3.22

Details

The gdk:drawing-context object is an object that represents the current drawing state of a gdk:window object. It is possible to use a gdk:drawing-context object to draw on a gdk:window object via rendering API like Cairo or OpenGL.

A gdk:drawing-context object can only be created by calling the gdk:window-begin-draw-frame function and will be valid until a call to the gdk:window-end-draw-frame function.

The gdk:drawing-context class is available since GDK 3.22.
 

Inherited Slot Access Functions

See also

#2023-3-10