[pango/pango2: 68/201] pango-layout: export a helper
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 68/201] pango-layout: export a helper
- Date: Sat, 11 Jun 2022 02:22:28 +0000 (UTC)
commit 19a132da1b40e6a4ce5ab74f02a39883b89d7ea9
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jan 14 22:12:14 2022 -0500
pango-layout: export a helper
Make pango_layout_run_get_extents_and_height available
for use outside of pango-layout.c.
pango/pango-layout.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 43906c02..ae0235a5 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -5586,7 +5586,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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]