diff options
-rw-r--r-- | pango/pango-attributes.c | 2 | ||||
-rw-r--r-- | pango/pango-attributes.h | 7 | ||||
-rw-r--r-- | pango/pango-layout.c | 6 |
3 files changed, 15 insertions, 0 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c index a87c661e..c929a3d5 100644 --- a/pango/pango-attributes.c +++ b/pango/pango-attributes.c @@ -1644,6 +1644,8 @@ pango_attribute_as_float (PangoAttribute *attr) * * Returns: (nullable) (transfer none): The attribute as `PangoAttrString`, * or %NULL if it's not a string attribute + * + * Since: 1.50 */ PangoAttrString * pango_attribute_as_string (PangoAttribute *attr) diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h index 59183a60..982987f8 100644 --- a/pango/pango-attributes.h +++ b/pango/pango-attributes.h @@ -247,6 +247,13 @@ typedef enum { PANGO_BASELINE_SHIFT_SUBSCRIPT, } PangoBaselineShift; +/** + * PangoFontScale: + * @PANGO_FONT_SCALE_SUPERSCRIPT: + * @PANGO_FONT_SCALE_SUBSCRIPT: + * + * Since: 1.50 + */ typedef enum { PANGO_FONT_SCALE_NONE, PANGO_FONT_SCALE_SUPERSCRIPT, diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 6e761f2c..f91b91d3 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -7509,6 +7509,12 @@ pango_layout_iter_get_baseline (PangoLayoutIter *iter) return iter->line_extents[iter->line_index].baseline; } +/** + * pango_layout_iter_get_run_baseline + * @iter: a `PangoLayoutIter` + * + * Since: 1.50 + */ int pango_layout_iter_get_run_baseline (PangoLayoutIter *iter) { |