PgCairo.updateContext

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.

struct PgCairo
static
void
updateContext

Parameters

cr Context

a Cairo context

context PgContext

a PangoContext, from a pangocairo font map

Meta

Since

1.10