diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-11-08 17:46:48 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-11-14 16:32:45 +0000 |
commit | 5c4ff53fb89b5068bc901fd5909be9e5d2d0cb0b (patch) | |
tree | 8dc1faaa37e23192dc586a00d7e7e95a1439366f /pdf | |
parent | a6e91235376900869f74673caf7bf17fc257bdd7 (diff) | |
download | mupdf-5c4ff53fb89b5068bc901fd5909be9e5d2d0cb0b.tar.xz |
Grid fitting tweaks.
Extract the grid fitting code from the scaling code and the affine image
drawing code into it's own separate function. This reduces code
duplication. It also allows us to make better allowance for rounding
errors.
Add a voodoo offset in the draw_affine.c code for painting interpolated
images. This gives us the best possible match between all the different
combinations of scaled/unscaled and interpolated/uninterpolated images.
Diffstat (limited to 'pdf')
0 files changed, 0 insertions, 0 deletions