diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2017-06-23 12:23:36 -0700 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-07-17 19:32:06 +0100 |
commit | 63713f22ae830142dfe0d3896948ec53c4705ace (patch) | |
tree | fe8334e262f4507dc2cd2a3ee6d6239bb2c44b40 /source/fitz/device.c | |
parent | 28bfd69eb4101a2197920da6cbc21f491d8cb288 (diff) | |
download | mupdf-63713f22ae830142dfe0d3896948ec53c4705ace.tar.xz |
Add colorspace handling to transparency groups
Also force softmasks to be isolated groups.
Diffstat (limited to 'source/fitz/device.c')
-rw-r--r-- | source/fitz/device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/device.c b/source/fitz/device.c index fcf135d0..0f658d31 100644 --- a/source/fitz/device.c +++ b/source/fitz/device.c @@ -416,7 +416,7 @@ fz_end_mask(fz_context *ctx, fz_device *dev) } void -fz_begin_group(fz_context *ctx, fz_device *dev, const fz_rect *area, int isolated, int knockout, int blendmode, float alpha) +fz_begin_group(fz_context *ctx, fz_device *dev, const fz_rect *area, fz_colorspace *cs, int isolated, int knockout, int blendmode, float alpha) { if (dev->error_depth) { @@ -429,7 +429,7 @@ fz_begin_group(fz_context *ctx, fz_device *dev, const fz_rect *area, int isolate if (dev->hints & FZ_MAINTAIN_CONTAINER_STACK) push_clip_stack(ctx, dev, area, fz_device_container_stack_is_group); if (dev->begin_group) - dev->begin_group(ctx, dev, area, isolated, knockout, blendmode, alpha); + dev->begin_group(ctx, dev, area, cs, isolated, knockout, blendmode, alpha); } fz_catch(ctx) { |