5#include "genericcolor.h"
18 : first(
list.value(0, 0))
19 , second(
list.value(1, 0))
20 , third(
list.value(2, 0))
21 , fourth(
list.value(3, 0))
30LchDouble GenericColor::reinterpretAsLchToLchDouble()
const
42Trio GenericColor::toTrio()
const
44 return createMatrix<1, 3, double>(first, second, third);
60cmsCIEXYZ GenericColor::reinterpretAsXyzToCmsciexyz()
const
62 return cmsCIEXYZ{first, second, third};
70cmsCIELab GenericColor::reinterpretAsLabToCmscielab()
const
72 return cmsCIELab{first, second, third};
80bool GenericColor::operator==(
const GenericColor &other)
const
83 (first == other.first)
84 && (second == other.second)
85 && (third == other.third)
86 && (fourth == other.fourth)
95bool GenericColor::operator!=(
const GenericColor &other)
const
97 return !(*
this == other);
111 <<
"GenericColor(" <<
113 << value.second <<
", "
114 << value.third <<
", "
115 << value.fourth <<
")";
KIOCORE_EXPORT QStringList list(const QString &fileClass)
KTEXTEDITOR_EXPORT QDebug operator<<(QDebug s, const MovingCursor &cursor)
The namespace of this library.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Sep 6 2024 11:56:13 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.