XX CMake Package
Loading...
Searching...
No Matches
XXColorSpace.h
Go to the documentation of this file.
1#ifndef XXColorSpaceH
2#define XXColorSpaceH
3
4#include "XXGuiExportDef.h"
5
6#include <QColor>
7
8namespace XX
9{
12
14 {
15 public:
17
20
21 struct XYB
22 {
23 double x = 0.0;
24 double y = 0.0;
25 double brightness = 0.0;
26 };
27
28 public:
29 static QColor fromCIE(const XYB& xyb);
30 static XYB toCIE(const QColor& color);
31 };
32} // namespace XX
33
34#endif // NOT XXColorSpaceH
#define XXGUI_DECLSPEC
Definition XXGuiExportDef.h:11
color space conversions
Definition XXColorSpace.h:14
static QColor fromCIE(const XYB &xyb)
static XYB toCIE(const QColor &color)
Definition XXPopulatedAbstract.h:11
CIE 1931 color space coordinates with brightness.
Definition XXColorSpace.h:22
double brightness
Definition XXColorSpace.h:25
double y
Definition XXColorSpace.h:24
double x
Definition XXColorSpace.h:23