DrawingContext


Object Hierarchy:

Gdk.DrawingContext Gdk.DrawingContext Gdk.DrawingContext GLib.Object GLib.Object GLib.Object->Gdk.DrawingContext

Description:

[ CCode ( type_id = "gdk_drawing_context_get_type ()" ) ]
public sealed class DrawingContext : Object

DrawingContext is an object that represents the current drawing state of a Window.

It's possible to use a DrawingContext to draw on a Window via rendering API like Cairo or OpenGL.

A DrawingContext can only be created by calling begin_draw_frame and will be valid until a call to end_draw_frame.

DrawingContext is available since GDK 3.22


Namespace: Gdk
Package: gdk-3.0

Content:

Properties:

Creation methods:

Methods:

Inherited Members: