showLayout

Draws a pango.layout.Layout in the specified cairo context.

The top-left corner of the pango.layout.Layout will be drawn at the current point of the cairo context.

Parameters

cr cairo.context.Context

a Cairo context

layout pango.layout.Layout

a Pango layout