Import line: | PangoCairo = imports.gi.PangoCairo; |
GIR File: | PangoCairo-1.0.gir |
C documentation: | PangoCairoFontMap |
Interface : | FontMap |
Implementations: | PangoCairo.FcFontMap |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
create_context
()
:
Pango.Context
Create a PangoContext for the given fontmap.
Create a PangoContext for the given fontmap.
|
PangoCairo.FontMap | |
get_font_type
()
:
cairo.FontType
Gets the type of Cairo font backend that fontmap uses.
Gets the type of Cairo font backend that fontmap uses.
|
PangoCairo.FontMap | |
get_resolution
()
:
Number
Gets the resolution for the fontmap.
Gets the resolution for the fontmap. See pango_cairo_font_map_set_resolution()
|
PangoCairo.FontMap | |
set_default
()
:
none
Sets a default PangoCairoFontMap to use with Cairo.
Sets a default PangoCairoFontMap to use with Cairo. This can be used to change the Cairo font backend that the default fontmap uses for example. The old default font map is unreffed and the new font map referenced. A value of NULL for fontmap will cause the current default font map to be released and a new default font map to be created on demand, using pango_cairo_font_map_new().
|
PangoCairo.FontMap | |
set_resolution
(Number dpi)
:
none
Sets the resolution for the fontmap.
Sets the resolution for the fontmap. This is a scale factor between points specified in a PangoFontDescription and Cairo units. The default value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72. = 13.3).
|
PangoCairo.FontMap |
None |