summaryrefslogtreecommitdiff
path: root/pango/pango-item.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-20 10:09:41 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-20 10:16:45 -0400
commitbd816f9f4568a75c19455202a6ab1e7fa72a254d (patch)
tree6f890cf066e18fefecf406150209028efd67aca0 /pango/pango-item.h
parentdba200b2d9dc56431fc2fb598f60d11eb2b037b8 (diff)
downloadpango-bd816f9f4568a75c19455202a6ab1e7fa72a254d.tar.gz
Cosmetics: Clean up pango-context.h
Move itemize functions to pango-item.h, and move the PangoContext typedef to pango-types.h.
Diffstat (limited to 'pango/pango-item.h')
-rw-r--r--pango/pango-item.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/pango/pango-item.h b/pango/pango-item.h
index a1e95086..40847682 100644
--- a/pango/pango-item.h
+++ b/pango/pango-item.h
@@ -134,6 +134,23 @@ PANGO_AVAILABLE_IN_1_44
void pango_item_apply_attrs (PangoItem *item,
PangoAttrIterator *iter);
+PANGO_AVAILABLE_IN_ALL
+GList *pango_itemize (PangoContext *context,
+ const char *text,
+ int start_index,
+ int length,
+ PangoAttrList *attrs,
+ PangoAttrIterator *cached_iter);
+
+PANGO_AVAILABLE_IN_1_4
+GList *pango_itemize_with_base_dir (PangoContext *context,
+ PangoDirection base_dir,
+ const char *text,
+ int start_index,
+ int length,
+ PangoAttrList *attrs,
+ PangoAttrIterator *cached_iter);
+
G_END_DECLS
#endif /* __PANGO_ITEM_H__ */