Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LabColor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace mce { class Color; }
8// clang-format on
9
10namespace Editor::Colors {
11
12class LabColor {
13public:
14 // member variables
15 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 LabColor& operator=(LabColor const&);
24 LabColor(LabColor const&);
25 LabColor();
26
27public:
28 // member functions
29 // NOLINTBEGIN
30#ifdef LL_PLAT_C
31 MCNAPI float ciede2000DeltaE(::Editor::Colors::LabColor const& rhs) const;
32#endif
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38#ifdef LL_PLAT_C
39 MCNAPI static ::Editor::Colors::LabColor fromLinearRGB(::mce::Color const& linearRgb);
40
41 MCNAPI static ::Editor::Colors::LabColor fromsRGB(::mce::Color const& srgb);
42#endif
43 // NOLINTEND
44};
45
46} // namespace Editor::Colors
Definition LabColor.h:12
Definition Color.h:13
Definition Alias.h:14