Skip to content

Add bindings for PDF tags #63

@tinchodias

Description

@tinchodias

There is an API introduced in cairo v1.6.0 to add hyperlinks for a PDF surface. The bindings would be simple, and simple to use. See this example:

cairo_tag_begin (cr, CAIRO_TAG_LINK, "uri='https://cairographics.org'");
cairo_move_to (cr, 50, 50);
cairo_show_text (cr, "This is a link to the cairo website.");
cairo_tag_end (cr, CAIRO_TAG_LINK);

It is also possible to link to a local destination (in the same PDF), using another tag. More details on this API: https://www.cairographics.org/manual/cairo-Tags-and-Links.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions