mupdf
Loading...
Searching...
No Matches
fz_link Struct Reference

#include <link.h>

Collaboration diagram for fz_link:

Public Attributes

int refs
struct fz_linknext
fz_rect rect
char * uri
fz_link_set_rect_fnset_rect_fn
fz_link_set_uri_fnset_uri_fn
fz_link_drop_link_fndrop

Detailed Description

fz_link is a list of interactive links on a page.

There is no relation between the order of the links in the list and the order they appear on the page. The list of links for a given page can be obtained from fz_load_links.

A link is reference counted. Dropping a reference to a link is done by calling fz_drop_link.

rect: The hot zone. The area that can be clicked in untransformed coordinates.

uri: Link destinations come in two forms: internal and external. Internal links refer to other pages in the same document. External links are URLs to other documents.

next: A pointer to the next link on the same page.

Member Data Documentation

◆ drop

fz_link_drop_link_fn* fz_link::drop

◆ next

struct fz_link* fz_link::next

◆ rect

fz_rect fz_link::rect

◆ refs

int fz_link::refs

◆ set_rect_fn

fz_link_set_rect_fn* fz_link::set_rect_fn

◆ set_uri_fn

fz_link_set_uri_fn* fz_link::set_uri_fn

◆ uri

char* fz_link::uri

The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/mupdf/checkouts/1.28.0/include/mupdf/fitz/link.h