eBookReaderSwitch/mupdf/docs/api/index.html

89 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>MuPDF C API</title>
<link rel="stylesheet" href="../style.css" type="text/css">
<style>
dl dt { font-family: monospace; margin-top: 0.5em; }
</style>
</head>
<body>
<header>
<h1>MuPDF C API</h1>
</header>
<article>
<h2>Introduction</h2>
<p>
This is the MuPDF C API guide -- for developers.
In this document we will guide you through the public and stable bits of the MuPDF library.
This is intended to both provide an introduction to new developers wanting to use
low level features of MuPDF, and as a reference guide to the public interface.
<p>
We will be explaining the basics, enough to get you started on a single
threaded application. There are more functions and data structures used
internally, and there are also ways to use MuPDF from multiple threads,
but those are beyond the scope of this document.
<p>
The functions and structures documented in this document are what we consider
stable APIs. They will rarely change, and if they do, any such changes will be
noted in the "api-changes" document along with instructions for how to update
your code.
<h2>MuPDF modules</h2>
<p>
MuPDF is separated into several modules.
<dl>
<dt><a href="core.html">Core</a>
<dd>The core module contains the runtime context, exception handling, and
various string manipulation, math, hash table, binary tree, and other useful
functions.
<dt><a href="io.html">I/O</a>
<dd>The I/O module contains structures and functions for buffers of data,
reading and writing to streams, compression, and encryption.
<dt><a href="graphics.html">Graphics</a>
<dd>The graphics module contains graphic resource objects like colors, fonts, shadings, and images.
<dt>Device
<dd>The device interface is how we provide access to the contents of a document.
A device is a callback structure, that gets called for each piece of text,
line art, and image on a page.
There are several device implementations.
The most important one renders the contents to a raster image, and another
one gathers all the text into a structure that can be used to select
and copy and search the text content on a page.
<dt>Document
<dd>The document module handles reading and writing documents in various
formats, and ties together all the preceding modules to provide rendering,
format conversion, and search functionality for the document types we support.
<dt>PDF
<dd>The PDF module provides access to the low level PDF structure, letting you
query, modify, and create PDF objects and streams. It allows you to create new
documents, modify existing documents, or examine features, extract data, or do
almost anything you could want at the PDF object and stream level that we don't
provide with the higher level APIs.
</dl>
</article>
<footer>
<a href="https://www.artifex.com/"><img src="../artifex-logo.png" align="right"></a>
Copyright &copy; 2019 Artifex Software Inc.
</footer>
</body>
</html>