Function pangocairo::update_layout

source ·
pub fn update_layout(cr: &Context, layout: &Layout)
Expand description

Updates the private pango::Context of a pango::Layout created with [funccreate_layout] to match the current transformation and target surface of a Cairo context.

cr

a Cairo context

layout

a pango::Layout, from [funccreate_layout]