Renderer.drawLayout

Draws layout with the specified pango.renderer.Renderer.

This is equivalent to drawing the lines of the layout, at their respective positions relative to x, y.

class Renderer
void
drawLayout

Parameters

layout pango.layout.Layout
x int

X position of left edge of baseline, in user space coordinates in Pango units.

y int

Y position of left edge of baseline, in user space coordinates in Pango units.