Snapshot.renderLayout
void renderLayout(gtk.style_context.StyleContext context, double x, double y, pango.layout.Layout layout)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.
Parameters
context | the style context that defines the text |
x | X origin of the rectangle |
y | Y origin of the rectangle |
layout | the [pango.layout.Layout] to render |