PgCairo.contextSetFontOptions

Sets the font options used when rendering text with this context.

These options override any options that [func@update_context] derives from the target surface.

struct PgCairo
static
void
contextSetFontOptions

Parameters

context PgContext

a PangoContext, from a pangocairo font map

options FontOption

a cairo_font_options_t, or %NULL to unset any previously set options. A copy is made.

Meta

Since

1.10