summaryrefslogtreecommitdiff
path: root/pdf
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2011-11-08 17:46:48 +0000
committerRobin Watts <robin.watts@artifex.com>2011-11-14 16:32:45 +0000
commit5c4ff53fb89b5068bc901fd5909be9e5d2d0cb0b (patch)
tree8dc1faaa37e23192dc586a00d7e7e95a1439366f /pdf
parenta6e91235376900869f74673caf7bf17fc257bdd7 (diff)
downloadmupdf-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