Snapshot.renderLayout

Creates a render node for rendering layout according to the style information in context, and appends it to the current node of snapshot, without changing the current node.

class Snapshot
void
renderLayout

Parameters

context gtk.style_context.StyleContext

the style context that defines the text

x double

X origin of the rectangle

y double

Y origin of the rectangle

layout pango.layout.Layout

the pango.layout.Layout to render