From 4e8160a9098990ba59962ae6b0a253d9294ab8e3 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 17 Jun 2016 15:13:24 +0200 Subject: Set pixmap resolution when creating pixmaps for draw device. --- source/fitz/pixmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/fitz/pixmap.c') 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 -- cgit v1.2.3