QtBase
v6.3.1
|
The QColorTransform class is a transformation between color spaces. More...
#include <qcolortransform.h>
Public Member Functions | |
QColorTransform () noexcept=default | |
Q_GUI_EXPORT | ~QColorTransform () |
Q_GUI_EXPORT | QColorTransform (const QColorTransform &colorTransform) noexcept |
QColorTransform (QColorTransform &&colorTransform)=default | |
QColorTransform & | operator= (const QColorTransform &other) noexcept |
void | swap (QColorTransform &other) noexcept |
Q_GUI_EXPORT QRgb | map (QRgb argb) const |
Q_GUI_EXPORT QRgba64 | map (QRgba64 rgba64) const |
Q_GUI_EXPORT QColor | map (const QColor &color) const |
Friends | |
class | QColorSpace |
class | QColorSpacePrivate |
class | QColorTransformPrivate |
class | QImage |
The QColorTransform class is a transformation between color spaces.
\inmodule QtGui
QColorTransform is an instantiation of a transformation between color spaces. It can be applied on color and pixels to convert them from one color space to another.
Setting up a QColorTransform takes some preprocessing, so keeping around QColorTransforms that you need often is recommended, instead of generating them on the fly.
Definition at line 55 of file qcolortransform.h.
|
defaultnoexcept |
|
default |
|
defaultnoexcept |
|
default |
Applies the color transformation on the QColor value color.
Definition at line 209 of file qcolortransform.cpp.
Applies the color transformation on the QRgb value argb.
The input should be opaque or unpremultiplied.
Definition at line 148 of file qcolortransform.cpp.
Applies the color transformation on the QRgba64 value rgba64.
The input should be opaque or unpremultiplied.
Definition at line 179 of file qcolortransform.cpp.
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |
Definition at line 76 of file qcolortransform.h.
|
friend |
Definition at line 77 of file qcolortransform.h.
|
friend |
Definition at line 78 of file qcolortransform.h.
|
friend |
Definition at line 79 of file qcolortransform.h.