diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-04 22:06:06 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-07-05 15:47:23 -0400 |
commit | d75d9598e8b0a704c7bbfbbc61877386b6a86327 (patch) | |
tree | 42a727cd32702883f4f7f06288e069fad518619b /pango/pango-font.h | |
parent | 05750deb6fbab92a1635b00085f819c96eafb38f (diff) | |
download | pango-d75d9598e8b0a704c7bbfbbc61877386b6a86327.tar.gz |
Add line height to font metrics
Add a getter for the line height of a font.
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r-- | pango/pango-font.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h index 60501216..ceaf9643 100644 --- a/pango/pango-font.h +++ b/pango/pango-font.h @@ -335,6 +335,8 @@ PANGO_AVAILABLE_IN_ALL int pango_font_metrics_get_ascent (PangoFontMetrics *metrics) G_GNUC_PURE; PANGO_AVAILABLE_IN_ALL int pango_font_metrics_get_descent (PangoFontMetrics *metrics) G_GNUC_PURE; +PANGO_AVAILABLE_IN_1_44 +int pango_font_metrics_get_height (PangoFontMetrics *metrics) G_GNUC_PURE; PANGO_AVAILABLE_IN_ALL int pango_font_metrics_get_approximate_char_width (PangoFontMetrics *metrics) G_GNUC_PURE; PANGO_AVAILABLE_IN_ALL |