summaryrefslogtreecommitdiff
path: root/fitz/fitz.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-04-08 22:25:39 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-04-08 22:25:39 +0200
commit42e89d924112d0aea66245f46b8a25ab120c44da (patch)
tree094892cdaf9f1087599aa9b6bd53b052015d54a5 /fitz/fitz.h
parentae039a6b71fb9afddd29cf289e0f9a2be23803c5 (diff)
downloadmupdf-42e89d924112d0aea66245f46b8a25ab120c44da.tar.xz
Simplify arguments to fz_new_pixmap.
Diffstat (limited to 'fitz/fitz.h')
-rw-r--r--fitz/fitz.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fitz/fitz.h b/fitz/fitz.h
index 0ae31631..111df17e 100644
--- a/fitz/fitz.h
+++ b/fitz/fitz.h
@@ -680,9 +680,9 @@ struct fz_pixmap_s
int free_samples;
};
-fz_pixmap *fz_new_pixmap_with_data(fz_colorspace *colorspace, int x, int y, int w, int h, unsigned char *samples);
+fz_pixmap *fz_new_pixmap_with_data(fz_colorspace *colorspace, int w, int h, unsigned char *samples);
fz_pixmap *fz_new_pixmap_with_rect(fz_colorspace *, fz_bbox bbox);
-fz_pixmap *fz_new_pixmap(fz_colorspace *, int x, int y, int w, int h);
+fz_pixmap *fz_new_pixmap(fz_colorspace *, int w, int h);
fz_pixmap *fz_keep_pixmap(fz_pixmap *pix);
void fz_drop_pixmap(fz_pixmap *pix);
void fz_clear_pixmap(fz_pixmap *pix);