Perceptual Color
30 constexpr GenericColor() =
default;
35 explicit GenericColor(
const Trio &init)
46 explicit constexpr GenericColor(
const cmsCIELab &init)
57 explicit constexpr GenericColor(
const cmsCIELCh &init)
68 explicit constexpr GenericColor(
const cmsCIEXYZ &init)
83 constexpr GenericColor(
const double v1,
const double v2,
const double v3)
97 constexpr GenericColor(
const double v1,
const double v2,
const double v3,
const double v4)
105 explicit GenericColor(
const QList<double> &list);
107 bool operator==(
const GenericColor &other)
const;
108 bool operator!=(
const GenericColor &other)
const;
110 [[nodiscard]] cmsCIELab reinterpretAsLabToCmscielab()
const;
111 [[nodiscard]] cmsCIELCh reinterpretAsLchToCmscielch()
const;
112 [[nodiscard]] cmsCIEXYZ reinterpretAsXyzToCmsciexyz()
const;
113 [[nodiscard]] QList<double> toQList3()
const;
114 [[nodiscard]] Trio toTrio()
const;
129QDebug operator<<(QDebug dbg,
const PerceptualColor::GenericColor &value);
133Q_DECLARE_METATYPE(PerceptualColor::GenericColor)
void init(KXmlGuiWindow *window, KGameDifficulty *difficulty=nullptr)
The namespace of this library.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:46:43 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.