Gets the resolution for the context.
Sets the font options used when rendering text with this context.
Sets the resolution for the context.
Creates a context object set up to match the current transformation
and target surface of the Cairo context.
Creates a layout object set up to match the current transformation
and target surface of the Cairo context.
Add a squiggly line to the current path in the specified cairo context that
approximately covers the given rectangle in the style of an underline used
to indicate a spelling error.
Adds the glyphs in @glyphs to the current path in the specified
cairo context.
Adds the text in
pango::LayoutLine
to the current path in the
specified cairo context.
Adds the text in a
pango::Layout
to the current path in the
specified cairo context.
Draw a squiggly line in the specified cairo context that approximately
covers the given rectangle in the style of an underline used to indicate a
spelling error.
Draws the glyphs in @glyph_item in the specified cairo context,
Draws the glyphs in @glyphs in the specified cairo context.
Updates a
pango::Context
previously created for use with Cairo to
match the current transformation and target surface of a Cairo
context.
Updates the private
pango::Context
of a
pango::Layout
created with
[
create_layout()
][crate::create_layout()] to match the current transformation and target
surface of a Cairo context.