diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2016-10-01 22:05:42 +0930 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2016-10-01 22:05:42 +0930 |
commit | dcbfb726478f5ab2277bd52813b40e565612566a (patch) | |
tree | bba0e6de102a3fac24d9c80bcc23c595266d2e2d /src/cairo.h | |
parent | 25da407a5f1d136345759c0d0a2a1d985eb2b392 (diff) | |
download | cairo-dcbfb726478f5ab2277bd52813b40e565612566a.tar.gz |
pdf: structured text and hyperlink support
Diffstat (limited to 'src/cairo.h')
-rw-r--r-- | src/cairo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cairo.h b/src/cairo.h index 97637686e..32fc88b17 100644 --- a/src/cairo.h +++ b/src/cairo.h @@ -295,6 +295,7 @@ typedef struct _cairo_user_data_key { * @CAIRO_STATUS_PNG_ERROR: error occurred in libpng while reading from or writing to a PNG file (Since 1.16) * @CAIRO_STATUS_FREETYPE_ERROR: error occurred in libfreetype (Since 1.16) * @CAIRO_STATUS_WIN32_GDI_ERROR: error occurred in the Windows Graphics Device Interface (Since 1.16) + * @CAIRO_STATUS_TAG_ERROR: invalid tag name, attributes, or nesting (Since 1.16) * @CAIRO_STATUS_LAST_STATUS: this is a special value indicating the number of * status values defined in this enumeration. When using this value, note * that the version of cairo at run-time may have additional status values @@ -354,6 +355,7 @@ typedef enum _cairo_status { CAIRO_STATUS_PNG_ERROR, CAIRO_STATUS_FREETYPE_ERROR, CAIRO_STATUS_WIN32_GDI_ERROR, + CAIRO_STATUS_TAG_ERROR, CAIRO_STATUS_LAST_STATUS } cairo_status_t; @@ -1026,6 +1028,9 @@ cairo_rectangle_list_destroy (cairo_rectangle_list_t *rectangle_list); /* Logical structure tagging functions */ +#define CAIRO_TAG_DEST "cairo.dest" +#define CAIRO_TAG_LINK "Link" + cairo_public void cairo_tag_begin (cairo_t *cr, const char *tag_name, const char *attributes); |