summaryrefslogtreecommitdiff
path: root/src/cairo.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2016-10-01 17:14:28 +0930
committerAdrian Johnson <ajohnson@redneon.com>2016-10-01 17:14:28 +0930
commit4e70815b349309e0a82bc8c52663e030c24a1add (patch)
tree9eea3d41e5017fb60b6f83d913d627b81aaacbca /src/cairo.h
parentb207a932a2d3740984319dffd58a0791580597cd (diff)
downloadcairo-4e70815b349309e0a82bc8c52663e030c24a1add.tar.gz
Add tag functions to cairo_t and cairo_surface_t
The cairo_tag_begin/cairo_tag_end API is for supporting hyperlinks and creating tagged PDF files. The source, ctm, and stroke style are passed to the backend to allow these parameters to be used to specify hyperlink border attributes.
Diffstat (limited to 'src/cairo.h')
-rw-r--r--src/cairo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cairo.h b/src/cairo.h
index a09d839bd..97637686e 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -1024,6 +1024,14 @@ cairo_copy_clip_rectangle_list (cairo_t *cr);
cairo_public void
cairo_rectangle_list_destroy (cairo_rectangle_list_t *rectangle_list);
+/* Logical structure tagging functions */
+
+cairo_public void
+cairo_tag_begin (cairo_t *cr, const char *tag_name, const char *attributes);
+
+cairo_public void
+cairo_tag_end (cairo_t *cr, const char *tag_name);
+
/* Font/Text functions */
/**