Next:
Quick Start
Up:
MuPDF Explored
Previous:
About this book
Contents
Index
The MuPDF C API
Subsections
Quick Start
How to open a document and render some pages
Naming Conventions
Prefixes
Naming
Types
The Context
Overview
Creation
Custom Allocators
Multi-threading
Cloning
Destruction
Tuning
Summary
Error handling
Overview
Why is
fz_var
necessary?
Example: How to protect local variables with
fz_var
Throwing exceptions
Handling exceptions
Summary
Memory Management and The Store
Overview
Creating the Store
Reacting to Out of Memory events
Implementation
The Document interface
Overview
Opening/Closing a document
Handling password protected documents
Handling reflowable documents
Getting Pages from a document
Anatomy of a Page
Color Considerations
Rendering Pages
Presentations
Querying
Helper functions
The Device interface
Overview
Device Methods
Cookie
Detecting errors
Using the cookie with threads
Using the cookie to control partial rendering
Device Hints
Inbuilt Devices
BBox Device
Draw Device
Advanced Rendering - Overprint and Spots
Display List Device
PDF Output Device
Structured Text Device
SVG Output Device
Test Device
Standalone use
Passthrough use
Trace Device
Building Blocks
Overview
Colorspaces
Basic Colorspaces
Indexed Colorspaces
Separation and DeviceN Colorspaces
Further information
Pixmaps
Overview
Premultiplied alpha
Saving
Bitmaps
Halftones
Images
Buffers
Transforms
Paths
Text
Shadings
Display Lists
Overview
Creation
Playback
Reference counting
Miscellaneous operations
The Stream interface
Overview
Creation
Usage
Reading bytes
Reading objects
Reading bits
Reading whole streams
Seeking
Meta data
Destruction
The Output interface
Overview
Creation
Usage
Writing bytes
Writing objects
Writing strings
Seeking
Rendered Output Formats
Overview
Band Writers
PNM
PAM
PBM
PKM
PNG
PSD
PWG/CUPS
Contone
Mono
TGA
PCL
Color
Mono
Postscript
The Document Writer interface
Usage
Implementation
Progressive Mode
Overview
Implementation
Progressive Streams
Rough renderings
Directed downloads
Example implementation
Fonts
Overview
Inbuilt Fonts
Implementation
Build configuration
Overview
Configuration file
Plotter selection
Document handlers
JPEG 2000 support
Javascript
Fonts