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
layout | a pango.layout.Layout |
x | X position of left edge of baseline, in user space coordinates in Pango units. |
y | Y position of left edge of baseline, in user space coordinates in Pango units. |