summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_page.h
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-06-14 11:41:18 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-14 16:15:20 +0000
commit603a31d0c509c7ce3c2709dcb5377a78e6ce4815 (patch)
treedc5adcb4a16ab862c6fe7393be07cd7cb8f19ecf /core/fpdfapi/page/cpdf_page.h
parentf0f2a2a528e154b8ceeded297abc3a64007850f8 (diff)
downloadpdfium-603a31d0c509c7ce3c2709dcb5377a78e6ce4815.tar.xz
Add blend to GraphicsData
CL [1] added the ability to set the blend mode for a page object. This CL adds the corresponding component to GraphicsData since the blend mode is part of ExtGSState. In addition, a test using the SetBlendMode method is added. [1] https://pdfium-review.googlesource.com/c/5953/ Bug: pdfium:720 Change-Id: I49120284345185c200a45cc3b37ec59f0658e2dc Reviewed-on: https://pdfium-review.googlesource.com/6510 Commit-Queue: Nicolás Peña <npm@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_page.h')
-rw-r--r--core/fpdfapi/page/cpdf_page.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/fpdfapi/page/cpdf_page.h b/core/fpdfapi/page/cpdf_page.h
index 77cc793d81..0a080a58ae 100644
--- a/core/fpdfapi/page/cpdf_page.h
+++ b/core/fpdfapi/page/cpdf_page.h
@@ -26,6 +26,7 @@ class CPDF_PageRenderContext;
struct GraphicsData {
float fillAlpha;
float strokeAlpha;
+ int blendType;
bool operator<(const GraphicsData& other) const;
};