Package org.gnome.gdk

Class DrawContext

java.lang.Object
All Implemented Interfaces:
Proxy
Direct Known Subclasses:
CairoContext, DrawContext.DrawContextImpl, GLContext, VulkanContext

@Generated("io.github.jwharm.JavaGI") public abstract class DrawContext extends GObject
Base class for objects implementing different rendering methods.

GdkDrawContext is the base object used by contexts implementing different rendering methods, such as CairoContext or 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.