CairoNode#
- class CairoNode(*args, **kwargs)#
Superclasses: RenderNode
A render node for a Cairo surface.
Constructors#
- class CairoNode
- classmethod new(bounds: Rect) CairoNode #
Creates a
GskRenderNode
that will render a cairo surface into the area given bybounds
.You can draw to the cairo surface using
get_draw_context
.- Parameters:
bounds – the rectangle to render to