From a44b288c4132711d0d9dbcc6885fc98525748ad7 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 9 May 2018 19:31:22 +0000 Subject: 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 Reviewed-by: dsinclair --- constants/transparency.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'constants') 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 -- cgit v1.2.3