CairoContext#
Superclasses: DrawContext, Object
GdkCairoContext is an object representing the platform-specific
draw context.
GdkCairoContexts are created for a surface using
create_cairo_context, and the context
can then be used to draw on that surface.
Methods#
- class CairoContext
- cairo_create() Context | None#
Retrieves a Cairo context to be used to draw on the
GdkSurfaceofcontext.A call to
begin_framewith thiscontextmust have been done or this function will returnNone.The returned context is guaranteed to be valid until
end_frameis called.