render_layout

function render_layout(context:Gtk.StyleContext, cr:cairo.Context, x:Number, y:Number, layout:Pango.Layout):void {
    // Gjs wrapper for gtk_render_layout()
}

Renders layout on the coordinates x, y

Since 3.0

context

a Gtk.StyleContext

cr

a #cairo_t

x

X origin

y

Y origin

layout

the Pango.Layout to render