Function pangocairo::functions::update_layout

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

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

§cr

a Cairo context

§layout

a pango::Layout, from [create_layout()][crate::create_layout()]