cairo_update_context


Description:


[ Version ( since = "1.10" ) ]
public void cairo_update_context (Context cr, Context context)

Updates a `PangoContext` previously created for use with Cairo to match the current transformation and target surface of a Cairo context.

If any layouts have been created for the context, it's necessary to call [method@Pango.Layout.context_changed] on those layouts.

Parameters:

cr

a Cairo context

context

a `PangoContext`, from a pangocairo font map


Namespace: Pango
Package: pangocairo