CairoNode.this

Creates a GskRenderNode that will render a cairo surface into the area given by @bounds.

You can draw to the cairo surface using [method@Gsk.CairoNode.get_draw_context].

  1. this(GskCairoNode* gskCairoNode, bool ownedRef)
  2. this(Rect bounds)
    class CairoNode
    this

Parameters

bounds Rect

the rectangle to render to

Return Value

A new GskRenderNode

Throws

ConstructionException GTK+ fails to create the object.

Meta