diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/fitz/draw_misc.h | 1 | ||||
-rw-r--r-- | include/fitz/wld_tree.h | 3 | ||||
-rw-r--r-- | include/mupdf/content.h | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/include/fitz/draw_misc.h b/include/fitz/draw_misc.h index cb78b57c..cd9035a1 100644 --- a/include/fitz/draw_misc.h +++ b/include/fitz/draw_misc.h @@ -69,6 +69,7 @@ struct fz_renderer_s fz_irect clip; fz_pixmap *dest; fz_pixmap *over; + unsigned char a; unsigned char rgb[3]; int flag; }; diff --git a/include/fitz/wld_tree.h b/include/fitz/wld_tree.h index 324b8098..87addcd6 100644 --- a/include/fitz/wld_tree.h +++ b/include/fitz/wld_tree.h @@ -122,6 +122,7 @@ struct fz_solidnode_s fz_node super; fz_colorspace *cs; int n; + float a; float samples[FZ_FLEX]; }; @@ -170,7 +171,7 @@ int fz_ismetanode(fz_node *node); /* leaf nodes */ fz_error *fz_newlinknode(fz_node **nodep, fz_tree *subtree); -fz_error *fz_newsolidnode(fz_node **nodep, fz_colorspace *cs, int n, float *v); +fz_error *fz_newsolidnode(fz_node **nodep, float a, fz_colorspace *cs, int n, float *v); fz_error *fz_newimagenode(fz_node **nodep, fz_image *image); fz_error *fz_newshadenode(fz_node **nodep, fz_shade *shade); diff --git a/include/mupdf/content.h b/include/mupdf/content.h index ad6b824d..49c43844 100644 --- a/include/mupdf/content.h +++ b/include/mupdf/content.h @@ -26,10 +26,11 @@ struct pdf_material_s { int kind; fz_colorspace *cs; - float v[32]; pdf_indexed *indexed; pdf_pattern *pattern; fz_shade *shade; + float alpha; + float v[32]; }; struct pdf_gstate_s |