All pastes #784918 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-11-19 22:30 UTC
rendered paste body
/* DOCUMENT FUNCTIONS */

/* Mark the current point as a link destination with the given name. */
void
cairo_mark_destination (cairo_t *cr, const char *name);

/* Set the link destination within cr to the destination of the given name. This destination will be used for subsequent link operations. */
void
cairo_set_destination_name (cairo_t *cr, const char *name);

/* Set the link destination within cr to link to the given absolute page number. This destination will be used for subsequent link operations. */
void
cairo_set_destination_page (cairo_t *cr, int page_number);

/* Set the link destination within cr to link to the given URI. This destination will be used for subsequent link operations. */
void
cairo_set_destination_uri (cairo_t *cr, const char *uri);

/* A document operator that links the fill of the current path (according to the current fill rule) to the currently set destination. If a document surface supports only rectangular link areas, this operation will use the fill extents of the current path. The current path will be cleared from the cairo context. */
void
cairo_link (cairo_t *cr);

/* Like cairo_link(), but preserves the path within the cairo context. */
void
cairo_link_preserve (cairo_t *cr);