diff options
author | Robin Watts <robin.watts@artifex.com> | 2014-03-03 18:07:02 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2014-03-04 11:26:47 +0000 |
commit | b83d0c4c1ad97c0ff68fcbfaf4aceb5fc7e4e642 (patch) | |
tree | 615cf067be3d23d06cf34533e788ba76a4e0a9d7 /platform/winrt | |
parent | 484f10977e73fbafe1bfc2eda30d4426e75df265 (diff) | |
download | mupdf-b83d0c4c1ad97c0ff68fcbfaf4aceb5fc7e4e642.tar.xz |
Add pdf_process interface.
Currently the only processing we can do of PDF pages is to run
them through an fz_device. We introduce new "pdf_process"
functionality here to enable us to do more things.
We define a pdf_processor structure with a set of function
pointers in, one per PDF operator, together with functions
for processing xobjects etc. The guts of pdf_run_page_contents
and pdf_run_annot operations are then extracted to give
pdf_process_page_contents and pdf_process_annot, and the
originals implemented in terms of these.
This commit contains just one instance of a pdf_processor, namely
the "run" processor, which contains the original code refactored.
The graphical state (and device pointer) is now part of private data
to the run operator set, rather than being in pdf_csi.
Diffstat (limited to 'platform/winrt')
0 files changed, 0 insertions, 0 deletions