diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-08 22:25:39 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-08 22:25:39 +0200 |
commit | 42e89d924112d0aea66245f46b8a25ab120c44da (patch) | |
tree | 094892cdaf9f1087599aa9b6bd53b052015d54a5 /fitz/fitz.h | |
parent | ae039a6b71fb9afddd29cf289e0f9a2be23803c5 (diff) | |
download | mupdf-42e89d924112d0aea66245f46b8a25ab120c44da.tar.xz |
Simplify arguments to fz_new_pixmap.
Diffstat (limited to 'fitz/fitz.h')
-rw-r--r-- | fitz/fitz.h | 4 |
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); |