CairoFontMap
Object Hierarchy:
Description:
[ CCode ( type_id = "pango_cairo_font_map_get_type ()" ) ]
[ GIR ( name = "FontMap" ) ]
[ Version ( since = "1.10" ) ]
public interface CairoFontMap : FontMap
`PangoCairoFontMap` is an interface exported by font maps for use with Cairo.
The actual type of the font map will depend on the particular font technology Cairo was compiled to use.
Content:
Static methods:
- public static FontMap @new ()
Creates a new `PangoCairoFontMap` object.
- public static unowned FontMap get_default ()
Gets a default `PangoCairoFontMap` to use with Cairo.
- public static FontMap? new_for_font_type (FontType fonttype)
Creates a new `PangoCairoFontMap` object of the type suitable to be
used with cairo font backend of type fonttype
.
- public static void set_default (CairoFontMap? fontmap)
Sets a default `PangoCairoFontMap` to use with Cairo.
Methods:
- public unowned Context create_context ()
Create a `PangoContext` for the given fontmap.
- public FontType get_font_type ()
Gets the type of Cairo font backend that
this uses.
- public double get_resolution ()
Gets the resolution for the fontmap.
- public void set_resolution (double dpi)
Sets the resolution for the fontmap.
Inherited Members:
All known members inherited from class Pango.FontMap
- changed
- create_context
- get_family
- get_serial
- item_type
- list_families
- load_font
- load_fontset
- n_items
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface GLib.ListModel