updateContext

fun updateContext(cr: <Error class: unknown class>, context: <Error class: unknown class>)(source)

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.

Since

1.10

Parameters

cr

a Cairo context

context

a PangoContext, from a pangocairo font map