RGtk2 (version 2.20.31)

pangoCairoUpdateContext: pangoCairoUpdateContext

Description

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 pangoLayoutContextChanged on those layouts.

Usage

pangoCairoUpdateContext(cr, context)

Arguments

cr
[Cairo] a Cairo context
context
[PangoContext] a PangoContext, from a pangocairo font map

Details

Since 1.10