gdk.cairo_context

Module for [CairoContext] class

Types 3

[gdk.cairo_context.CairoContext] is an object representing the platform-specific draw context.

[gdk.cairo_context.CairoContext]s are created for a surface using [gdk.surface.Surface.createCairoContext], and the context can then be used to draw on that surface.

Methods
GType _gType() @property
CairoContext self()Returns `this`, for use in `with` statements.
CairoContextGidBuilder builder()Get builder for [gdk.cairo_context.CairoContext] Returns: New builder object
cairo.context.Context cairoCreate()Retrieves a Cairo context to be used to draw on the [gdk.surface.Surface] of context.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [gdk.cairo_context.CairoContext]