[pango/pango2: 105/112] document hbfont properties




commit 18ca6a4a2d0d00a5d8f6c335d97257799eeb8bf9
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 befa72a8d..a3991a0d3 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]