summaryrefslogtreecommitdiff
path: root/src/cairo-tag-stack-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2023-02-19 21:10:58 +1030
committerAdrian Johnson <ajohnson@redneon.com>2023-04-18 18:27:12 +0930
commitb53b48116e610d61cdf630c24a11b59a18345e16 (patch)
tree3bc8f3410e795ce81c1408b9d7f3a217033d29ba /src/cairo-tag-stack-private.h
parente7ed40a71dac04cb4c608b409b04577d01f08454 (diff)
downloadcairo-b53b48116e610d61cdf630c24a11b59a18345e16.tar.gz
Make cairo_tag_begin/end work correctly in groups
Fixes #508
Diffstat (limited to 'src/cairo-tag-stack-private.h')
-rw-r--r--src/cairo-tag-stack-private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cairo-tag-stack-private.h b/src/cairo-tag-stack-private.h
index fbb2c0e25..49145bf1d 100644
--- a/src/cairo-tag-stack-private.h
+++ b/src/cairo-tag-stack-private.h
@@ -46,6 +46,9 @@ typedef enum {
TAG_TYPE_STRUCTURE = 1,
TAG_TYPE_LINK = 2,
TAG_TYPE_DEST = 4,
+ TAG_TYPE_CONTENT = 8,
+ TAG_TYPE_CONTENT_REF = 16,
+ TAG_TYPE_ARTIFACT = 16,
} cairo_tag_type_t;
/* The type of the structure tree. */
@@ -99,6 +102,12 @@ cairo_private cairo_tag_stack_elem_t *
_cairo_tag_stack_top_elem (cairo_tag_stack_t *stack);
cairo_private void
+_cairo_tag_stack_foreach (cairo_tag_stack_t *stack,
+ void (*func)(cairo_tag_stack_elem_t *elem,
+ void *closure),
+ void *closure);
+
+cairo_private void
_cairo_tag_stack_free_elem (cairo_tag_stack_elem_t *elem);
cairo_private cairo_tag_type_t