#include <CommonFlagsConfig.h>
Definition at line 27 of file CommonFlagsConfig.h.
◆ SkCommandLineConfig()
Definition at line 256 of file CommonFlagsConfig.cpp.
259 : fTag(tag), fBackend(
backend) {
260 static const auto* kColorSpaces = new std::unordered_map<std::string_view, SkColorSpace*>{
261 {"narrow",
263 {"srgb",
265 {"srgb2",
267 {"linear",
269 {"p3",
271 {"spin",
273 {"rec2020",
275 };
276
277
278 for (
const SkString& via : viaParts) {
279 auto it = kColorSpaces->find(via.c_str());
280 if (it == kColorSpaces->end()) {
282 } else {
284 }
285 }
286}
static constexpr skcms_Matrix3x3 gNarrow_toXYZD50
sk_sp< T > sk_ref_sp(T *obj)
static sk_sp< SkColorSpace > MakeSRGB()
sk_sp< SkColorSpace > makeColorSpin() const
static sk_sp< SkColorSpace > MakeRGB(const skcms_TransferFunction &transferFn, const skcms_Matrix3x3 &toXYZ)
static sk_sp< SkColorSpace > MakeSRGBLinear()
static constexpr skcms_Matrix3x3 kRec2020
static constexpr skcms_Matrix3x3 kDisplayP3
static constexpr skcms_TransferFunction kRec2020
static constexpr skcms_TransferFunction k2Dot2
static constexpr skcms_TransferFunction kSRGB
◆ ~SkCommandLineConfig()
SkCommandLineConfig::~SkCommandLineConfig |
( |
| ) |
|
|
virtual |
◆ asConfigGpu()
◆ asConfigGraphite()
virtual const SkCommandLineConfigGraphite * SkCommandLineConfig::asConfigGraphite |
( |
| ) |
const |
|
inlinevirtual |
◆ asConfigSvg()
◆ getBackend()
const SkString & SkCommandLineConfig::getBackend |
( |
| ) |
const |
|
inline |
◆ getTag()
const SkString & SkCommandLineConfig::getTag |
( |
| ) |
const |
|
inline |
◆ getViaParts()
◆ refColorSpace()
The documentation for this class was generated from the following files: