CairoNode
- class CairoNode(*args, **kwargs)
Superclasses: RenderNode
- Constructors:
CairoNode(**properties)
new(bounds:Graphene.Rect) -> Gsk.CairoNode
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