diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-10-11 10:42:05 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-10-11 10:42:05 +0200 |
commit | 358811630686460d6b0a96021a1bcb4c3124fb03 (patch) | |
tree | 08a0049753ead2cd063723fddd0dd241740769df /include/fitz/pixmap.h | |
parent | bd77c6880a7cf32e20865fb0cdb6816df0e6f775 (diff) | |
download | mupdf-358811630686460d6b0a96021a1bcb4c3124fb03.tar.xz |
cleaned up xref object and stream api
Diffstat (limited to 'include/fitz/pixmap.h')
-rw-r--r-- | include/fitz/pixmap.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/fitz/pixmap.h b/include/fitz/pixmap.h index 90071a30..f46c2c05 100644 --- a/include/fitz/pixmap.h +++ b/include/fitz/pixmap.h @@ -3,6 +3,7 @@ typedef struct fz_colorspace_s fz_colorspace; struct fz_pixmap_s { + int refcount; int x, y, w, h; int n, a; int stride; @@ -11,12 +12,10 @@ struct fz_pixmap_s }; fz_error *fz_newpixmap(fz_pixmap **mapp, int x, int y, int w, int h, int n, int a); +fz_pixmap *fz_keeppixmap(fz_pixmap *map); +void fz_droppixmap(fz_pixmap *map); void fz_clearpixmap(fz_pixmap *map); -void fz_freepixmap(fz_pixmap *map); -void fz_blendover(short *C, short *A, short *B, int n); -void fz_blendin(short *C, short *A, short *B, int n); -void fz_blendout(short *C, short *A, short *B, int n); -void fz_blendatop(short *C, short *A, short *B, int n); -void fz_blendxor(short *C, short *A, short *B, int n); +void fz_blendover(fz_pixmap *dst, fz_pixmap *fg, fz_pixmap *bg); +void fz_blendmask(fz_pixmap *dst, fz_pixmap *color, fz_pixmap *shape); |