Functions§
- context_
get_ resolution - Gets the resolution for the context.
- context_
set_ font_ options - Sets the font options used when rendering text with this context.
- context_
set_ resolution - Sets the resolution for the context.
- create_
context - Creates a context object set up to match the current transformation and target surface of the Cairo context.
- create_
layout - Creates a layout object set up to match the current transformation and target surface of the Cairo context.
- error_
underline_ path - 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.
- glyph_
string_ path - Adds the glyphs in @glyphs to the current path in the specified cairo context.
- layout_
line_ path - Adds the text in
pango::LayoutLine
to the current path in the specified cairo context. - layout_
path - Adds the text in a
pango::Layout
to the current path in the specified cairo context. - show_
error_ underline - 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.
- show_
glyph_ item - Draws the glyphs in @glyph_item in the specified cairo context,
- show_
glyph_ string - Draws the glyphs in @glyphs in the specified cairo context.
- show_
layout - Draws a
pango::Layout
in the specified cairo context. - show_
layout_ line - Draws a
pango::LayoutLine
in the specified cairo context. - update_
context - Updates a
pango::Context
previously created for use with Cairo to match the current transformation and target surface of a Cairo context. - update_
layout - Updates the private
pango::Context
of apango::Layout
created with [create_layout()
][crate::create_layout()] to match the current transformation and target surface of a Cairo context.