![]() |

Public Member Functions | |
| Glib::RefPtr<Context> | create_context () |
| Create a Pango::Context for the given fontmap. | |
| double | get_resolution () const |
| Gets the resolutions for the fontmap. | |
| const PangoCairoFontMap* | gobj () const |
| Provides access to the underlying C GObject. | |
| PangoCairoFontMap* | gobj () |
| Provides access to the underlying C GObject. | |
| void | set_resolution (double dpi) |
| Sets the resolution for the fontmap. | |
| virtual | ~CairoFontMap () |
Static Public Member Functions | |
| static void | add_interface (GType gtype_implementer) |
Related Functions | |
| (Note that these are not member functions.) | |
| Glib::RefPtr<Pango::CairoFontMap> | wrap (PangoCairoFontMap* object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
| virtual Pango::CairoFontMap::~CairoFontMap | ( | ) | [virtual] |
| static void Pango::CairoFontMap::add_interface | ( | GType | gtype_implementer | ) | [static] |
| Glib::RefPtr<Context> Pango::CairoFontMap::create_context | ( | ) |
Create a Pango::Context for the given fontmap.
| double Pango::CairoFontMap::get_resolution | ( | ) | const |
Gets the resolutions for the fontmap.
See pango_cairo_font_map_set_resolution.
| const PangoCairoFontMap* Pango::CairoFontMap::gobj | ( | ) | const [inline] |
| PangoCairoFontMap* Pango::CairoFontMap::gobj | ( | ) | [inline] |
| void Pango::CairoFontMap::set_resolution | ( | double | dpi | ) |
Sets the resolution for the fontmap.
This is a scale factor between points specified in a Pango::FontDescription and Cairo units. The default value is 96, meaning that a 10 point font will be 13 units high. (10* 96. / 72. = 13.3).
Since: 1.10
| dpi | The resolution in "dots per inch". (Physical inches aren't actually involved; the terminology is conventional.). |
| Glib::RefPtr<Pango::CairoFontMap> wrap | ( | PangoCairoFontMap * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
A Glib::wrap() method for this object.
| object | The C instance. | |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |