|
| Font (Font &&src) noexcept |
|
Font & | operator= (Font &&src) noexcept |
|
| ~Font () noexcept override |
|
PangoFont * | gobj () |
| Provides access to the underlying C GObject.
|
|
const PangoFont * | gobj () const |
| Provides access to the underlying C GObject.
|
|
PangoFont * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
FontDescription | describe () const |
| Returns a description of the font, with font size set in points.
|
|
FontDescription | describe_with_absolute_size () const |
| Returns a description of the font, with absolute font size set in device units.
|
|
Glib::RefPtr< Coverage > | get_coverage (const Language &language) const |
| Computes the coverage map for a given font and language tag.
|
|
FontMetrics | get_metrics () const |
| Gets overall metric information for a font.
|
|
FontMetrics | get_metrics (const Language &language) const |
| Gets overall metric information for a font.
|
|
void | get_glyph_extents (Glyph glyph, Rectangle &ink_rect, Rectangle &logical_rect) const |
| Gets the logical and ink extents of a glyph within a font.
|
|
Glib::RefPtr< FontMap > | get_font_map () |
| Gets the font map for which the font was created.
|
|
Glib::RefPtr< const FontMap > | get_font_map () const |
| Gets the font map for which the font was created.
|
|
Glib::RefPtr< FontFace > | get_face () |
| Gets the Pango::FontFace to which font belongs.
|
|
Glib::RefPtr< const FontFace > | get_face () const |
| Gets the Pango::FontFace to which font belongs.
|
|
bool | has_char (gunichar wc) const |
| Returns whether the font provides a glyph for this character.
|
|
Rectangle | get_glyph_ink_extents (Glyph glyph) const |
| Get the ink extents of a glyph within the font.
|
|
Rectangle | get_glyph_logical_extents (Glyph glyph) const |
| Gets the logical extents of a glyph within the font.
|
|
| Object (const Object &)=delete |
|
Object & | operator= (const Object &)=delete |
|
| Object (Object &&src) noexcept |
|
Object & | operator= (Object &&src) noexcept |
|
void * | get_data (const QueryQuark &key) |
|
void | set_data (const Quark &key, void *data) |
|
void | set_data_with_c_callback (const Quark &key, void *data, GDestroyNotify notify) |
|
void | set_data (const Quark &key, void *data, DestroyNotify notify) |
|
void | remove_data (const QueryQuark &quark) |
|
void * | steal_data (const QueryQuark &quark) |
|
Glib::RefPtr< Glib::Object > | wrap (GObject *object, bool take_copy=false) |
|
| ObjectBase (const ObjectBase &)=delete |
|
ObjectBase & | operator= (const ObjectBase &)=delete |
|
void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) |
|
void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const |
|
void | set_property (const Glib::ustring &property_name, const PropertyType &value) |
|
void | get_property (const Glib::ustring &property_name, PropertyType &value) const |
|
PropertyType | get_property (const Glib::ustring &property_name) const |
|
sigc::connection | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void()> &slot) |
|
sigc::connection | connect_property_changed (const Glib::ustring &property_name, sigc::slot< void()> &&slot) |
|
void | freeze_notify () |
|
void | thaw_notify () |
|
virtual void | reference () const |
|
virtual void | unreference () const |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|
GObject * | gobj_copy () const |
|
| trackable () noexcept |
|
| trackable (const trackable &src) noexcept |
|
| trackable (trackable &&src) noexcept |
|
| ~trackable () |
|
void | add_destroy_notify_callback (notifiable *data, func_destroy_notify func) const |
|
void | notify_callbacks () |
|
trackable & | operator= (const trackable &src) |
|
trackable & | operator= (trackable &&src) noexcept |
|
void | remove_destroy_notify_callback (notifiable *data) const |
|
A Pango::Font is used to represent a font in a rendering-system-independent matter.
Gets the font map for which the font was created.
Note that the font maintains a weak reference to the font map, so if all references to font map are dropped, the font map will be finalized even if there are fonts created with the font map that are still alive. In that case this function will return nullptr
.
It is the responsibility of the user to ensure that the font map is kept alive. In most uses this is not an issue as a Pango::Context
holds a reference to the font map.
- Since pangomm 1.10:
- Returns
- The
Pango::FontMap
for the font.
Gets the font map for which the font was created.
Note that the font maintains a weak reference to the font map, so if all references to font map are dropped, the font map will be finalized even if there are fonts created with the font map that are still alive. In that case this function will return nullptr
.
It is the responsibility of the user to ensure that the font map is kept alive. In most uses this is not an issue as a Pango::Context
holds a reference to the font map.
- Since pangomm 1.10:
- Returns
- The
Pango::FontMap
for the font.