[pangomm] FontDescription: Add set/get_variations()



commit 837709acb91645a838da015ef41e4bbaa75ace5c
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Mon Nov 5 14:40:15 2018 +0100

    FontDescription: Add set/get_variations()

 pango/src/fontdescription.hg | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/pango/src/fontdescription.hg b/pango/src/fontdescription.hg
index 88cb716..70e8adf 100644
--- a/pango/src/fontdescription.hg
+++ b/pango/src/fontdescription.hg
@@ -83,6 +83,9 @@ public:
   _WRAP_METHOD(bool get_size_is_absolute() const, pango_font_description_get_size_is_absolute)
   _WRAP_METHOD(void set_gravity(Gravity gravity), pango_font_description_set_gravity)
   _WRAP_METHOD(Gravity get_gravity() const, pango_font_description_get_gravity)
+  _IGNORE(pango_font_description_set_variations_static)
+  _WRAP_METHOD(void set_variations(const Glib::ustring& settings), pango_font_description_set_variations)
+  _WRAP_METHOD(Glib::ustring get_variations() const, pango_font_description_get_variations)
   _WRAP_METHOD(FontMask get_set_fields() const, pango_font_description_get_set_fields)
   _WRAP_METHOD(void unset_fields(FontMask to_unset), pango_font_description_unset_fields)
   _WRAP_METHOD(void merge(const FontDescription& desc_to_merge, bool replace_existing), 
pango_font_description_merge)


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