Difference: MuPDFWrap (9 vs. 10)

Revision 102021-04-01 - JulianSmith

Line: 1 to 1
 
META TOPICPARENT name="JulianSmith"

C++ and Python APIs for MuPDF

Line: 9 to 9
 

The C++ MuPDF API

  • Auto-generated from the MuPDF C API.
Added:
>
>
  • Everything is in C++ namespace mupdf.
 
  • Provides C++ functions that wrap most fz_ and pdf_ functions.
  • Provides C++ classes that wrap most fz_ and pdf_ structs.
  • Class methods provide access to most of the underlying C API functions (except for functions that don't take struct args such as fz_strlcpy()).
Line: 136 to 137
 
      • Installation involves compiling the C, C++ and Python bindings so will take a few minutes. It requires SWIG to be installed.
      • Pre-build wheels are not currently provided.
Added:
>
>

Details

 
Changed:
<
<

Building the C++ and Python MuPDF APIs directly

>
>

Building the C++ and Python MuPDF APIs directly

  Requirements:
Line: 172 to 174
 (This enables Python to find the mupdf module, and enables the system dynamic linker to find the shared libraries that implement the underlying C, C++ and Python MuPDF APIs.)
Changed:
<
<

Building auto-generated documentation

>
>

Building auto-generated documentation

  Build HTML documentation for the C, C++ and Python APIs (using Doxygen and pydoc):
Line: 190 to 192
 
Changed:
<
<

How the build works

>
>

How the build works

  Building of MuPDF shared library:
Line: 211 to 213
 
  • If SWIG is version 4+, C++ comments are converted into Python doc-comments.
Changed:
<
<

Generated files

>
>

Generated files

 
    mupdf/
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 2014 Artifex Software Inc