diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-06-17 15:13:24 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-06-17 15:13:47 +0200 |
commit | 4e8160a9098990ba59962ae6b0a253d9294ab8e3 (patch) | |
tree | d806aaae2f920d45492859249a8def159d375453 /source/fitz/pixmap.c | |
parent | 8393f20185b0e3e73450096f7b76e1a3d9b5a0e2 (diff) | |
download | mupdf-4e8160a9098990ba59962ae6b0a253d9294ab8e3.tar.xz |
Set pixmap resolution when creating pixmaps for draw device.
Diffstat (limited to 'source/fitz/pixmap.c')
-rw-r--r-- | source/fitz/pixmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/fitz/pixmap.c b/source/fitz/pixmap.c index 0631e909..6a7f8919 100644 --- a/source/fitz/pixmap.c +++ b/source/fitz/pixmap.c @@ -1227,10 +1227,10 @@ fz_subsample_pixmap(fz_context *ctx, fz_pixmap *tile, int factor) } void -fz_pixmap_set_resolution(fz_pixmap *pix, int res) +fz_set_pixmap_resolution(fz_context *ctx, fz_pixmap *pix, int xres, int yres) { - pix->xres = res; - pix->yres = res; + pix->xres = xres; + pix->yres = yres; } void |