( type_id = "gdk_draw_context_get_type ()"
) ]public abstract class DrawContext
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.
- public void begin_frame (Region region)
Indicates that you are beginning the process of redrawing
on the this's surface.
- public void end_frame ()
- public unowned Display? get_display ()
Retrieves the `GdkDisplay` the this is
- public unowned Region? get_frame_region ()
Retrieves the region that is currently being repainted.
- public unowned Surface? get_surface ()
Retrieves the surface that this is bound
- public bool is_in_frame ()
Returns true if
this is in the process of drawing to its surface.
All known members inherited from class GLib.Object