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.CairoContexts are created for a surface using gdk.surface.Surface.createCairoContext, and the context can then be used to draw on that surface.

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