Go to the source code of this file.
◆ Version
Enumerator |
---|
k0_Version | |
k1_Version | |
kCurrent_Version | |
Definition at line 230 of file SkColorSpace.cpp.
◆ sk_srgb_linear_singleton()
Definition at line 81 of file SkColorSpace.cpp.
81 {
84 return cs;
85}
static SkColorSpace * Make(const skcms_TransferFunction &transferFn, const skcms_Matrix3x3 &to_xyz)
static constexpr skcms_Matrix3x3 kSRGB
static constexpr skcms_TransferFunction kLinear
◆ sk_srgb_singleton()
Definition at line 75 of file SkColorSpace.cpp.
75 {
78 return cs;
79}
static constexpr skcms_TransferFunction kSRGB
◆ xyz_almost_equal()
Definition at line 30 of file SkColorSpace.cpp.
30 {
31 for (int r = 0; r < 3; ++r) {
32 for (int c = 0; c < 3; ++c) {
34 return false;
35 }
36 }
37 }
38
39 return true;
40}
static bool color_space_almost_equal(float a, float b)