[pango/pango2: 86/178] document hbfont properties




commit 9fdaee51c9df985748ecae29572a8abc77a29c75
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jun 11 23:44:51 2022 -0400

    document hbfont properties

 pango/pango-hbfont.c | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/pango/pango-hbfont.c b/pango/pango-hbfont.c
index 7fe0b52d5..373f3bb98 100644
--- a/pango/pango-hbfont.c
+++ b/pango/pango-hbfont.c
@@ -921,6 +921,13 @@ pango_hb_font_class_init (PangoHbFontClass *class)
   font_class->get_features = pango_hb_font_get_features;
   font_class->get_transform = pango_hb_font_get_transform;
 
+  /**
+   * PangoHbFont:variations: (attributes org.gtk.Property.get=pango_hb_font_get_variations)
+   *
+   * The variations that are applied for this font.
+   *
+   * This property contains a string representation of the variations.
+   */
   properties[PROP_VARIATIONS] =
       g_param_spec_string ("variations", NULL, NULL, NULL,
                            G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);


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