summaryrefslogtreecommitdiff
path: root/fitz/fitz.h
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-07-23 18:26:01 +0000
committerTor Andersson <tor@ghostscript.com>2010-07-23 18:26:01 +0000
commit0da7075063e13032b2f11ca39fc9624f3c91e3c7 (patch)
tree956117fa67ca63f118a2e4e966f0cf3049ea1acb /fitz/fitz.h
parent84b1d89a5cd68182175c0761431707294798aed5 (diff)
downloadmupdf-0da7075063e13032b2f11ca39fc9624f3c91e3c7.tar.xz
Support constant alpha for shadings, images and transparency groups.
Diffstat (limited to 'fitz/fitz.h')
-rw-r--r--fitz/fitz.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fitz/fitz.h b/fitz/fitz.h
index 140f2f60..bff0ce70 100644
--- a/fitz/fitz.h
+++ b/fitz/fitz.h
@@ -1014,8 +1014,8 @@ struct fz_device_s
void (*clipstroketext)(void *, fz_text *, fz_strokestate *, fz_matrix);
void (*ignoretext)(void *, fz_text *, fz_matrix);
- void (*fillshade)(void *, fz_shade *shd, fz_matrix ctm);
- void (*fillimage)(void *, fz_pixmap *img, fz_matrix ctm);
+ void (*fillshade)(void *, fz_shade *shd, fz_matrix ctm, float alpha);
+ void (*fillimage)(void *, fz_pixmap *img, fz_matrix ctm, float alpha);
void (*fillimagemask)(void *, fz_pixmap *img, fz_matrix ctm, fz_colorspace *, float *color, float alpha);
void (*clipimagemask)(void *, fz_pixmap *img, fz_matrix ctm);
@@ -1023,7 +1023,7 @@ struct fz_device_s
void (*beginmask)(void *, fz_rect, int luminosity, fz_colorspace *cs, float *bc);
void (*endmask)(void *);
- void (*begingroup)(void *, fz_rect, int isolated, int knockout, fz_blendmode blendmode);
+ void (*begingroup)(void *, fz_rect, int isolated, int knockout, fz_blendmode blendmode, float alpha);
void (*endgroup)(void *);
};