summaryrefslogtreecommitdiff
path: root/fitz/fitz_base.h
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-01-07 14:25:59 +0100
committerTor Andersson <tor@ghostscript.com>2010-01-07 14:25:59 +0100
commitce5bbd9d57287b041e249a21bc88ad87a4c4f9ff (patch)
tree0e3c31f0da3515349a53fccf931db0139eb89c2b /fitz/fitz_base.h
parent3417c5d2f429b5166a630fc9eb20c9854283ffcc (diff)
downloadmupdf-ce5bbd9d57287b041e249a21bc88ad87a4c4f9ff.tar.xz
Draw images and shadings.
Diffstat (limited to 'fitz/fitz_base.h')
-rw-r--r--fitz/fitz_base.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/fitz/fitz_base.h b/fitz/fitz_base.h
index 46556a01..10ec702e 100644
--- a/fitz/fitz_base.h
+++ b/fitz/fitz_base.h
@@ -307,21 +307,18 @@ struct fz_pixmap_s
fz_sample *samples;
};
-fz_error fz_newpixmapwithrect(fz_pixmap **mapp, fz_irect bbox, int n);
-fz_error fz_newpixmap(fz_pixmap **mapp, int x, int y, int w, int h, int n);
-fz_error fz_newpixmapcopy(fz_pixmap **pixp, fz_pixmap *old);
+fz_pixmap * fz_newpixmapwithrect(fz_irect bbox, int n);
+fz_pixmap * fz_newpixmap(int x, int y, int w, int h, int n);
+fz_pixmap * fz_newpixmapcopy(fz_pixmap *old);
void fz_debugpixmap(fz_pixmap *map, char *prefix);
void fz_clearpixmap(fz_pixmap *map);
-void fz_droppixmap(fz_pixmap *map);
+void fz_freepixmap(fz_pixmap *map);
-fz_error fz_scalepixmap(fz_pixmap **dstp, fz_pixmap *src, int xdenom, int ydenom);
+fz_pixmap * fz_scalepixmap(fz_pixmap *src, int xdenom, int ydenom);
/* needed for tiled rendering */
fz_error fz_newscaledpixmap(fz_pixmap **dstp, int w, int h, int n, int xdenom, int ydenom);
fz_error fz_scalepixmaptile(fz_pixmap *dstp, int xoffs, int yoffs,
fz_pixmap *tile, int xdenom, int ydenom);
-#endif
-
-