summaryrefslogtreecommitdiff
path: root/src/cairo-backend-private.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-backend-private.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-backend-private.h')
-rw-r--r--src/cairo-backend-private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-backend-private.h b/src/cairo-backend-private.h
index b05eca59a..67607c12f 100644
--- a/src/cairo-backend-private.h
+++ b/src/cairo-backend-private.h
@@ -172,6 +172,9 @@ struct _cairo_backend {
cairo_status_t (*copy_page) (void *cr);
cairo_status_t (*show_page) (void *cr);
+
+ cairo_status_t (*tag_begin) (void *cr, const char *tag_name, const char *attributes);
+ cairo_status_t (*tag_end) (void *cr, const char *tag_name);
};
static inline void