diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-07-03 18:33:48 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-07-19 19:41:23 +0100 |
commit | f957eae764e6dbc74401b66d6a18ba3290fdb982 (patch) | |
tree | 224513a5080adde16386669feb0881aefe75794a /source/fitz/util.c | |
parent | 3d6cf4e4e543ce0d204db71ef8d0b9277219f250 (diff) | |
download | mupdf-f957eae764e6dbc74401b66d6a18ba3290fdb982.tar.xz |
Add spots to fz_pixmaps.
Update separations interface further to cope with whether spots
should be rendered separately, or as composite colors.
Diffstat (limited to 'source/fitz/util.c')
-rw-r--r-- | source/fitz/util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/fitz/util.c b/source/fitz/util.c index 23dab179..f4dee8a1 100644 --- a/source/fitz/util.c +++ b/source/fitz/util.c @@ -114,7 +114,7 @@ fz_new_pixmap_from_display_list(fz_context *ctx, fz_display_list *list, const fz fz_transform_rect(&rect, ctm); fz_round_rect(&irect, &rect); - pix = fz_new_pixmap_with_bbox(ctx, cs, &irect, alpha); + pix = fz_new_pixmap_with_bbox(ctx, cs, &irect, 0, alpha); if (alpha) fz_clear_pixmap(ctx, pix); else @@ -151,7 +151,7 @@ fz_new_pixmap_from_page_contents(fz_context *ctx, fz_page *page, const fz_matrix fz_transform_rect(&rect, ctm); fz_round_rect(&irect, &rect); - pix = fz_new_pixmap_with_bbox(ctx, cs, &irect, alpha); + pix = fz_new_pixmap_with_bbox(ctx, cs, &irect, 0, alpha); if (alpha) fz_clear_pixmap(ctx, pix); else @@ -188,7 +188,7 @@ fz_new_pixmap_from_annot(fz_context *ctx, fz_annot *annot, const fz_matrix *ctm, fz_transform_rect(&rect, ctm); fz_round_rect(&irect, &rect); - pix = fz_new_pixmap_with_bbox(ctx, cs, &irect, alpha); + pix = fz_new_pixmap_with_bbox(ctx, cs, &irect, 0, alpha); if (alpha) fz_clear_pixmap(ctx, pix); else @@ -225,7 +225,7 @@ fz_new_pixmap_from_page(fz_context *ctx, fz_page *page, const fz_matrix *ctm, fz fz_transform_rect(&rect, ctm); fz_round_rect(&irect, &rect); - pix = fz_new_pixmap_with_bbox(ctx, cs, &irect, alpha); + pix = fz_new_pixmap_with_bbox(ctx, cs, &irect, 0, alpha); if (alpha) fz_clear_pixmap(ctx, pix); else |