summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fitz/pixmap.h7
-rw-r--r--include/fitz/scanconv.h3
2 files changed, 5 insertions, 5 deletions
diff --git a/include/fitz/pixmap.h b/include/fitz/pixmap.h
index f46c2c05..462b4ad6 100644
--- a/include/fitz/pixmap.h
+++ b/include/fitz/pixmap.h
@@ -3,7 +3,6 @@ typedef struct fz_colorspace_s fz_colorspace;
struct fz_pixmap_s
{
- int refcount;
int x, y, w, h;
int n, a;
int stride;
@@ -12,10 +11,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_debugpixmap(fz_pixmap *map);
+void fz_freepixmap(fz_pixmap *map);
void fz_clearpixmap(fz_pixmap *map);
-void fz_blendover(fz_pixmap *dst, fz_pixmap *fg, fz_pixmap *bg);
+void fz_blendover(fz_pixmap *src, fz_pixmap *dst);
void fz_blendmask(fz_pixmap *dst, fz_pixmap *color, fz_pixmap *shape);
diff --git a/include/fitz/scanconv.h b/include/fitz/scanconv.h
index 0e073127..a3c29473 100644
--- a/include/fitz/scanconv.h
+++ b/include/fitz/scanconv.h
@@ -38,7 +38,8 @@ fz_error *fz_insertael(fz_ael *ael, fz_gel *gel, int y, int *e);
void fz_advanceael(fz_ael *ael);
void fz_freeael(fz_ael *ael);
-fz_error *fz_scanconvert(fz_gel *gel, fz_ael *ael, int eofill);
+fz_error *fz_scanconvert(fz_gel *gel, fz_ael *ael, int eofill,
+ void (*blitfunc)(int,int,int,short*,void*), void *blitdata);
fz_error *fz_fillpath(fz_gel *gel, fz_pathnode *path, fz_matrix ctm, float flatness);
fz_error *fz_strokepath(fz_gel *gel, fz_pathnode *path, fz_matrix ctm, float flatness);