diff options
author | Lei Zhang <thestig@chromium.org> | 2018-05-09 19:31:22 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-09 19:31:22 +0000 |
commit | a44b288c4132711d0d9dbcc6885fc98525748ad7 (patch) | |
tree | ed70574e2a4c40970545474d5c451220823d68a6 /constants/transparency.h | |
parent | 56b272e9cb6c680c1fcda2984c23c47b6cc4b421 (diff) | |
download | pdfium-a44b288c4132711d0d9dbcc6885fc98525748ad7.tar.xz |
Add constants for PDF 1.7 spec, table 7.13.
BUG=pdfium:1049
Change-Id: I3a589fe51f2e584dc130ba31faa144d4494a1b08
Reviewed-on: https://pdfium-review.googlesource.com/32179
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'constants/transparency.h')
-rw-r--r-- | constants/transparency.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/constants/transparency.h b/constants/transparency.h index 6ae79c949d..22a89c33c4 100644 --- a/constants/transparency.h +++ b/constants/transparency.h @@ -32,6 +32,22 @@ constexpr char kSaturation[] = "Saturation"; constexpr char kColor[] = "Color"; constexpr char kLuminosity[] = "Luminosity"; +// PDF 1.7 spec, table 7.10. +// Entries in a soft-mask dictionary. + +constexpr char kSoftMaskSubType[] = "S"; +constexpr char kAlpha[] = "Alpha"; +constexpr char kG[] = "G"; +constexpr char kBC[] = "BC"; +constexpr char kTR[] = "TR"; + +// PDF 1.7 spec, table 7.13. +// Additional entries specific to a transparency group attributes dictionary. + +constexpr char kGroupSubType[] = "S"; +constexpr char kTransparency[] = "Transparency"; +constexpr char kI[] = "I"; + } // namespace transparency } // namespace pdfium |