module PangoCairo::FontMap
Overview
Pango::CairoFontMap
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.
Defined in:
lib/gi-crystal/src/auto/pango_cairo-1.0/font_map.crConstructors
-
.cast(obj : GObject::Object) : self
Cast a
GObject::Object
toself
, throws aTypeCastError
if the cast can't be made. - .new : Pango::FontMap
Class Method Summary
- .cast?(obj : GObject::Object) : self | Nil
- .default : Pango::FontMap
- .g_type : UInt64
- .new_for_font_type(fonttype : Cairo::FontType) : Pango::FontMap | Nil
Instance Method Summary
- #font_type : Cairo::FontType
- #resolution : Float64
- #resolution=(dpi : Float64) : Nil
- #set_default : Nil
- #to_unsafe
Constructor Detail
Cast a GObject::Object
to self
, throws a TypeCastError
if the cast can't be made.