mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-08-02 05:04:39 +08:00
Update comments referencing the "PDF 1.7 spec" to point to their corresponding tables and sections in the ISO 32000-1:2008 specification. Hopefully nobody will need to open pdf_reference_1-7.pdf anymore after this. TAG=agy CONV=e172d025-7526-4dbc-b51d-9fdabcf46a76 Change-Id: I80544bd4df3829cb9292199e9dac7d223b2377a1 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/149091 Reviewed-by: Andy Phan <andyphan@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
52 lines
1.8 KiB
C++
52 lines
1.8 KiB
C++
// Copyright 2018 The PDFium Authors
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef CONSTANTS_TRANSPARENCY_H_
|
|
#define CONSTANTS_TRANSPARENCY_H_
|
|
|
|
namespace pdfium {
|
|
namespace transparency {
|
|
|
|
// ISO 32000-1:2008 spec, table 136.
|
|
// Standard separable blend modes.
|
|
inline constexpr char kNormal[] = "Normal";
|
|
inline constexpr char kMultiply[] = "Multiply";
|
|
inline constexpr char kScreen[] = "Screen";
|
|
inline constexpr char kOverlay[] = "Overlay";
|
|
inline constexpr char kDarken[] = "Darken";
|
|
inline constexpr char kLighten[] = "Lighten";
|
|
inline constexpr char kColorDodge[] = "ColorDodge";
|
|
inline constexpr char kColorBurn[] = "ColorBurn";
|
|
inline constexpr char kHardLight[] = "HardLight";
|
|
inline constexpr char kSoftLight[] = "SoftLight";
|
|
inline constexpr char kDifference[] = "Difference";
|
|
inline constexpr char kExclusion[] = "Exclusion";
|
|
|
|
// ISO 32000-1:2008 spec, table 137.
|
|
// Standard nonseparable blend modes.
|
|
inline constexpr char kHue[] = "Hue";
|
|
inline constexpr char kSaturation[] = "Saturation";
|
|
inline constexpr char kColor[] = "Color";
|
|
inline constexpr char kLuminosity[] = "Luminosity";
|
|
|
|
// ISO 32000-1:2008 spec, table 144.
|
|
// Entries in a soft-mask dictionary.
|
|
inline constexpr char kSoftMaskSubType[] = "S";
|
|
inline constexpr char kAlpha[] = "Alpha";
|
|
inline constexpr char kG[] = "G";
|
|
inline constexpr char kBC[] = "BC";
|
|
inline constexpr char kTR[] = "TR";
|
|
|
|
// ISO 32000-1:2008 spec, table 147.
|
|
// Additional entries specific to a transparency group attributes dictionary.
|
|
inline constexpr char kGroupSubType[] = "S";
|
|
inline constexpr char kTransparency[] = "Transparency";
|
|
inline constexpr char kCS[] = "CS";
|
|
inline constexpr char kI[] = "I";
|
|
|
|
} // namespace transparency
|
|
} // namespace pdfium
|
|
|
|
#endif // CONSTANTS_TRANSPARENCY_H_
|