Function pangocairo::show_layout[][src]

pub fn show_layout(cr: &Context, layout: &Layout)
Expand description

Draws a pango::Layout in the specified cairo context. The top-left corner of the pango::Layout will be drawn at the current point of the cairo context.

cr

a Cairo context

layout

a Pango layout