Package: pango
Function pango:cairo-create-context
Lambda Listpango:cairo-create-context (cr) ArgumentsReturn ValueThe newly created pango:context object. Details
Creates a Pango context set up to match the current transformation and
target surface of the Cairo context.
This Pango context can then be used to create a Pango layout using the pango:layout-new function. This function is a convenience function that creates a Pango context using the default font map, then updates it to the Cairo context. If you just need to create a Pango layout for use with the Cairo context and do not need to access the pango:context object directly, you can use the pango:cairo-create-layout function instead. | See also |
2025-1-1