diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-20 16:16:49 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-20 23:16:48 -0400 |
commit | 0f9c6cabaa660b2c1c9dda75af40db17ea0d993b (patch) | |
tree | 75b748b6a0e9b701a5072405ab7d246c41a5f914 /pango/pango-glyph.h | |
parent | 230c6765314c29075ad697670d9ba5acbdcfe124 (diff) | |
download | pango-0f9c6cabaa660b2c1c9dda75af40db17ea0d993b.tar.gz |
Add pango_shape_item
Add a pango_shape API variant that takes log attrs,
so we can implement text transforms that depend on
word boundaries, in the future.
Diffstat (limited to 'pango/pango-glyph.h')
-rw-r--r-- | pango/pango-glyph.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pango/pango-glyph.h b/pango/pango-glyph.h index ae1f5fd7..4dc77fd1 100644 --- a/pango/pango-glyph.h +++ b/pango/pango-glyph.h @@ -228,6 +228,15 @@ void pango_shape_with_flags (const char PangoShapeFlags flags); +PANGO_AVAILABLE_IN_1_50 +void pango_shape_item (PangoItem *item, + const char *paragraph_text, + int paragraph_length, + PangoLogAttr *log_attrs, + PangoGlyphString *glyphs, + PangoShapeFlags flags); + + G_END_DECLS #endif /* __PANGO_GLYPH_H__ */ |