diff options
author | Robin Watts <robin.watts@artifex.com> | 2015-03-05 17:31:05 -0700 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2015-03-24 19:50:00 +0000 |
commit | 5f161e45d5daacb696d02b8fad23d0c23f5bc8bc (patch) | |
tree | 6e8d84a383d580ee38b23dfb345bc96d0ba1e63e /source/pdf/pdf-cmap-parse.c | |
parent | 563c482145d65c4006f5842c8860ab1b09f5a229 (diff) | |
download | mupdf-5f161e45d5daacb696d02b8fad23d0c23f5bc8bc.tar.xz |
Path rework for improved memory usage.
Firstly, we make the definition of the path structures local to
path.c. This is achieved by using an fz_path_processor function to
step through paths enumerating each section using callback functions.
Next, we extend the internal path representation to include other
section types, including quads, beziers with common control points
rectangles, horizontal, vertical and degenerate lines. We also roll
close path sections up into the previous sections commands.
The hairiest part of this is that fz_transform_path has to cope with
changing the path commands depending on the matrix. This is a
relatively rare operation though.
Diffstat (limited to 'source/pdf/pdf-cmap-parse.c')
0 files changed, 0 insertions, 0 deletions