Renderer.drawLayout

void drawLayout(pango.layout.Layout layout, int x, int y)

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.

Parameters

layouta [pango.layout.Layout]
xX position of left edge of baseline, in user space coordinates in Pango units.
yY position of left edge of baseline, in user space coordinates in Pango units.