DrawContext


Object Hierarchy:

Gdk.DrawContext Gdk.DrawContext Gdk.DrawContext GLib.Object GLib.Object GLib.Object->Gdk.DrawContext

Description:

[ CCode ( type_id = "gdk_draw_context_get_type ()" ) ]
public abstract class DrawContext : Object

Base class for objects implementing different rendering methods.

`GdkDrawContext` is the base object used by contexts implementing different rendering methods, such as [class@Gdk.CairoContext] or [ class@Gdk.GLContext]. It provides shared functionality between those contexts.

You will always interact with one of those subclasses.

A `GdkDrawContext` is always associated with a single toplevel surface.

All known sub-classes:

Namespace: Gdk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Inherited Members: