KDEUI
kcolorutils.cpp File Reference
#include <kcolorutils.h>
#include "kcolorspaces.h"
#include "kcolorhelpers_p.h"
#include <QColor>
#include <QImage>
#include <math.h>
Go to the source code of this file.
Functions | |
static qreal | contrastRatioForLuma (qreal y1, qreal y2) |
static qreal | mixQreal (qreal a, qreal b, qreal bias) |
static QColor | tintHelper (const QColor &base, qreal baseLuma, const QColor &color, qreal amount) |
Function Documentation
◆ contrastRatioForLuma()
|
static |
Definition at line 42 of file kcolorutils.cpp.
◆ mixQreal()
|
inlinestatic |
Definition at line 31 of file kcolorutils.cpp.
◆ tintHelper()
|
static |
Definition at line 79 of file kcolorutils.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.