summaryrefslogtreecommitdiff
path: root/pango/pango-layout.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-04 23:14:54 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-07-05 15:47:23 -0400
commit18aba3ac1093f179db53d5f8d7ffc531098d906b (patch)
treeb3945c764c5127bc9ec77287ba09b3a1b4e6c3a7 /pango/pango-layout.h
parent7a185f5ce3d5794e43603547477f08d0ae981ea6 (diff)
downloadpango-18aba3ac1093f179db53d5f8d7ffc531098d906b.tar.gz
Add line heights to layout lines
Add a getter for the line height of a layout line.
Diffstat (limited to 'pango/pango-layout.h')
-rw-r--r--pango/pango-layout.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h
index b095a303..2019a7b5 100644
--- a/pango/pango-layout.h
+++ b/pango/pango-layout.h
@@ -352,6 +352,10 @@ PANGO_AVAILABLE_IN_ALL
void pango_layout_line_get_extents (PangoLayoutLine *line,
PangoRectangle *ink_rect,
PangoRectangle *logical_rect);
+PANGO_AVAILABLE_IN_1_44
+void pango_layout_line_get_height (PangoLayoutLine *line,
+ int *height);
+
PANGO_AVAILABLE_IN_ALL
void pango_layout_line_get_pixel_extents (PangoLayoutLine *layout_line,
PangoRectangle *ink_rect,