[pangomm] Add FontMap::get_family()



commit 37857e8f174a48e66ed7ea5802dad80d8a65ca2e
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Mon Oct 11 15:51:58 2021 +0200

    Add FontMap::get_family()

 pango/src/fontmap.hg | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/pango/src/fontmap.hg b/pango/src/fontmap.hg
index 79526d8..cd6c1a3 100644
--- a/pango/src/fontmap.hg
+++ b/pango/src/fontmap.hg
@@ -60,6 +60,11 @@ public:
   _WRAP_METHOD(guint get_serial() const, pango_font_map_get_serial)
 
   _IGNORE(pango_font_map_changed)dnl// Shall not be used by applications
+
+  _WRAP_METHOD(Glib::RefPtr<FontFamily> get_family(const Glib::ustring& name),
+    pango_font_map_get_family, refreturn, newin "2,50")
+  _WRAP_METHOD(Glib::RefPtr<const FontFamily> get_family(const Glib::ustring& name) const,
+    pango_font_map_get_family, refreturn, constversion, newin "2,50")
 };
 
 } /* namespace Pango */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]