Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
transparency.cpp
Go to the documentation of this file.
1// Copyright 2021 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "constants/transparency.h"
6
7namespace pdfium::transparency {
8
9// PDF 1.7 spec, table 7.2.
10// Standard separable blend modes.
11const char kNormal[] = "Normal";
12const char kMultiply[] = "Multiply";
13const char kScreen[] = "Screen";
14const char kOverlay[] = "Overlay";
15const char kDarken[] = "Darken";
16const char kLighten[] = "Lighten";
17const char kColorDodge[] = "ColorDodge";
18const char kColorBurn[] = "ColorBurn";
19const char kHardLight[] = "HardLight";
20const char kSoftLight[] = "SoftLight";
21const char kDifference[] = "Difference";
22const char kExclusion[] = "Exclusion";
23
24// PDF 1.7 spec, table 7.3.
25// Standard nonseparable blend modes.
26const char kHue[] = "Hue";
27const char kSaturation[] = "Saturation";
28const char kColor[] = "Color";
29const char kLuminosity[] = "Luminosity";
30
31// PDF 1.7 spec, table 7.10.
32// Entries in a soft-mask dictionary.
33const char kSoftMaskSubType[] = "S";
34const char kAlpha[] = "Alpha";
35const char kG[] = "G";
36const char kBC[] = "BC";
37const char kTR[] = "TR";
38
39// PDF 1.7 spec, table 7.13.
40// Additional entries specific to a transparency group attributes dictionary.
41const char kGroupSubType[] = "S";
42const char kTransparency[] = "Transparency";
43const char kCS[] = "CS";
44const char kI[] = "I";
45
46} // namespace pdfium::transparency
const char kTransparency[]
const char kColorDodge[]
const char kHardLight[]
const char kDifference[]
const char kExclusion[]
const char kGroupSubType[]
const char kSoftMaskSubType[]
const char kSaturation[]
const char kLuminosity[]
const char kSoftLight[]
const char kColorBurn[]