Perceptual Color
4#ifndef CHROMALIGHTNESSIMAGEPARAMETERS_H
5#define CHROMALIGHTNESSIMAGEPARAMETERS_H
9#include <qsharedpointer.h>
16class AsyncImageRenderCallback;
47class ChromaLightnessImageParameters final
50 [[nodiscard]]
bool operator==(
const ChromaLightnessImageParameters &other)
const;
51 [[nodiscard]]
bool operator!=(
const ChromaLightnessImageParameters &other)
const;
52 static void render(
const QVariant &variantParameters, AsyncImageRenderCallback &callbackObject);
59 QSize imageSizePhysical;
61 QSharedPointer<PerceptualColor::RgbColorSpace> rgbColorSpace;
65 friend class TestChromaLightnessImageParameters;
76 [[nodiscard]]
static constexpr int maskIndex(
const int x,
const int y,
const QSize imageSizePhysical)
78 return x + y * imageSizePhysical.width();
84Q_DECLARE_METATYPE(PerceptualColor::ChromaLightnessImageParameters)
The namespace of this library.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 11:52:11 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.