A Pango::Fontset is used to represent a set of fonts.
More...
#include <pangomm/fontset.h>
|
static GType | get_type () |
| Get the GType for this class, for use with the underlying GObject type system.
|
|
A Pango::Fontset is used to represent a set of fonts.
◆ ForeachSlot
For instance, bool on_foreach(const Glib::RefPtr<Pango::Font>& font);.
◆ Fontset()
Pango::Fontset::Fontset |
( |
Fontset && |
src | ) |
|
|
noexcept |
◆ ~Fontset()
Pango::Fontset::~Fontset |
( |
| ) |
|
|
overridenoexcept |
◆ foreach()
Iterates through all the fonts in a fontset, calling slot for each one.
If slot returns true, that stops the iteration.
- Since
- -1.4
- Parameters
-
◆ get_font()
Glib::RefPtr< Font > Pango::Fontset::get_font |
( |
guint |
wc | ) |
const |
Returns the font in the fontset that contains the best glyph for a Unicode character.
- Parameters
-
- Returns
- A
Pango::Font
.
◆ get_metrics()
Get overall metric information for the fonts in the fontset.
- Returns
- A
Pango::FontMetrics
object.
◆ get_type()
Get the GType for this class, for use with the underlying GObject type system.
◆ gobj() [1/2]
Provides access to the underlying C GObject.
◆ gobj() [2/2]
Provides access to the underlying C GObject.
◆ gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
◆ operator=()
◆ wrap()
A Glib::wrap() method for this object.
- Parameters
-
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. |
- Returns
- A C++ instance that wraps this C instance.