summaryrefslogtreecommitdiff
path: root/src/cairoint.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/cairoint.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/cairoint.h')
-rw-r--r--src/cairoint.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cairoint.h b/src/cairoint.h
index efc9ad1fc..f1cd0758e 100644
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -1418,6 +1418,17 @@ _cairo_surface_show_text_glyphs (cairo_surface_t *surface,
const cairo_clip_t *clip);
cairo_private cairo_status_t
+_cairo_surface_tag (cairo_surface_t *surface,
+ cairo_bool_t begin,
+ const char *tag_name,
+ const char *attributes,
+ const cairo_pattern_t *source,
+ const cairo_stroke_style_t *stroke_style,
+ const cairo_matrix_t *ctm,
+ const cairo_matrix_t *ctm_inverse,
+ const cairo_clip_t *clip);
+
+cairo_private cairo_status_t
_cairo_surface_acquire_source_image (cairo_surface_t *surface,
cairo_image_surface_t **image_out,
void **image_extra);