Class
PangoContext
Description [src]
final class Pango.Context : GObject.Object
{
/* No available fields */
}
A PangoContext
stores global information used to control the
itemization process.
The information stored by PangoContext
includes the fontmap used
to look up fonts, and default values such as the default language,
default gravity, or default font.
To obtain a PangoContext
, use pango_font_map_create_context()
.
Instance methods
pango_context_changed
Forces a change in the context, which will cause any PangoLayout
using this context to re-layout.
since: 1.32.4
pango_context_get_matrix
Gets the transformation matrix that will be applied when rendering with this context.
since: 1.6
pango_context_get_round_glyph_positions
Returns whether font rendering with this context should round glyph positions and widths.
since: 1.44
pango_context_load_font
Loads the font in one of the fontmaps in the context
that is the closest match for desc
.
pango_context_load_fontset
Load a set of fonts in the context that can be used to render
a font matching desc
.
pango_context_set_font_map
Sets the font map to be searched when fonts are looked-up in this context.
pango_context_set_matrix
Sets the transformation matrix that will be applied when rendering with this context.
since: 1.6
pango_context_set_round_glyph_positions
Sets whether font rendering with this context should round glyph positions and widths to integral positions, in device units.
since: 1.44
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.