summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-01-14 22:12:14 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-01-24 07:46:42 -0500
commit62b0144a6520208351ddb8c534f589fbb18c8e25 (patch)
tree37826f295da1365a402f86aad5aa857b9c110b2f
parent0ac72e0245635ac8ea7b971b2f7b774fd57be606 (diff)
downloadpango-62b0144a6520208351ddb8c534f589fbb18c8e25.tar.gz
pango-layout: export a helper
Make pango_layout_run_get_extents_and_height available for use outside of pango-layout.c.
-rw-r--r--pango/pango-layout.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 9167883c..d0cf62ea 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -5593,7 +5593,13 @@ pango_layout_get_empty_extents_and_height_at_index (PangoLayout *layout,
}
}
-static void
+void pango_layout_run_get_extents_and_height (PangoLayoutRun *run,
+ PangoRectangle *run_ink,
+ PangoRectangle *run_logical,
+ PangoRectangle *line_logical,
+ int *height);
+
+void
pango_layout_run_get_extents_and_height (PangoLayoutRun *run,
PangoRectangle *run_ink,
PangoRectangle *run_logical,