pangocairo.font_map

Module for [FontMap] interface

Types 2

interfaceFontMap

pangocairo.font_map.FontMap 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.

Methods
GType _getGType() static nothrow
pango.font_map.FontMap getDefault() static nothrowGets a default [pangocairo.font_map.FontMap] to use with Cairo.
pango.font_map.FontMap new_() static nothrowCreates a new [pangocairo.font_map.FontMap] object.
pango.font_map.FontMap newForFontType(cairo.types.FontType fonttype) static nothrowCreates a new [pangocairo.font_map.FontMap] object of the type suitable to be used with cairo font backend of type fonttype.
cairo.types.FontType getFontType()Gets the type of Cairo font backend that fontmap uses. Returns: the [cairo.types.FontType] cairo font backend type
double getResolution()Gets the resolution for the fontmap.
void setDefault()Sets a default [pangocairo.font_map.FontMap] to use with Cairo.
void setResolution(double dpi)Sets the resolution for the fontmap.

Fluent builder implementation template for pangocairo.font_map.FontMap