22static_assert(std::is_same_v<cmsFloat64Number, double>);
24static_assert(
sizeof(double) ==
sizeof(cmsFloat64Number));
26static_assert(
sizeof(LchDouble) ==
sizeof(cmsCIELCh));
28static_assert(std::is_trivially_copyable_v<LchDouble>);
29static_assert(std::is_trivial_v<LchDouble>);
31static_assert(std::is_standard_layout_v<LchDouble>);
33static_assert(std::is_default_constructible_v<LchDouble>);
34static_assert(std::is_trivially_default_constructible_v<LchDouble>);
35static_assert(std::is_nothrow_default_constructible_v<LchDouble>);
37static_assert(std::is_copy_constructible_v<LchDouble>);
38static_assert(std::is_trivially_copy_constructible_v<LchDouble>);
39static_assert(std::is_nothrow_copy_constructible_v<LchDouble>);
41static_assert(std::is_move_constructible_v<LchDouble>);
42static_assert(std::is_trivially_move_constructible_v<LchDouble>);
43static_assert(std::is_nothrow_move_constructible_v<LchDouble>);
62 dbg.
nospace() <<
"LchDouble(" << value.
l <<
"% " << value.
c <<
" " << value.
h <<
"°)";
77 return ((
l == other.
l) && (
c == other.
c) && (
h == other.
h));
The namespace of this library.
A LCH color (Oklch, CielchD50, CielchD65…)
bool hasSameCoordinates(const LchDouble &other) const
Compares coordinates with another object.
double l
Lightness, mesured in percent.
double h
Hue, measured in degree.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Sep 13 2024 11:47:58 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.