diff options
Diffstat (limited to 'src/gui/painting/qrgbaf.qdoc')
-rw-r--r-- | src/gui/painting/qrgbaf.qdoc | 248 |
1 files changed, 0 insertions, 248 deletions
diff --git a/src/gui/painting/qrgbaf.qdoc b/src/gui/painting/qrgbaf.qdoc deleted file mode 100644 index 3e9760ce22..0000000000 --- a/src/gui/painting/qrgbaf.qdoc +++ /dev/null @@ -1,248 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: https://www.gnu.org/licenses/fdl-1.3.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \class QRgbaF - \brief The QRgbaF struct contains a four part RGBA floating-point color. - \since 6.2 - - \ingroup painting - \inmodule QtGui - - QRgba16F is a 64-bit data-structure containing four 16-bit floating point color channels: Red, green, blue and alpha. - QRgba32F is a 128-bit data-structure containing four 32-bit floating point color channels: Red, green, blue and alpha. - - \sa QRgb, QRgba64, QColor -*/ - -/*! - \fn template<typename F> QRgbaF<F>::fromRgba64(quint16 r, quint16 g, quint16 b, quint16 a) - - Constructs a QRgbaF value from the four 16-bit integer color channels \a red, \a green, \a blue and \a alpha. - - \sa fromRgba() -*/ - -/*! - \fn template<typename F> QRgbaF<F>::fromRgba(quint8 red, quint8 green, quint8 blue, quint8 alpha) - - Constructs a QRgbaF value from the four 8-bit color channels \a red, \a green, \a blue and \a alpha. - - \sa fromArgb32() -*/ - -/*! - \fn template<typename F> QRgbaF<F>::fromArgb32(uint rgb) - - Constructs a QRgbaF value from the 32bit ARGB value \a rgb. - - \sa fromRgba(), toArgb32() -*/ - -/*! - \fn template<typename F> bool QRgbaF<F>::isOpaque() const - - Returns whether the color is fully opaque. - - \sa isTransparent(), alpha() -*/ - -/*! - \fn template<typename F> bool QRgbaF<F>::isTransparent() const - - Returns whether the color is fully transparent. - - \sa isOpaque(), alpha() -*/ - -/*! - \fn template<typename F> float QRgbaF<F>::red() const - - Returns the red color component. - - \sa setRed() -*/ - -/*! - \fn template<typename F> void QRgbaF<F>::setRed(float red) - - Sets the red color component of this color to \a red. - - \sa red() -*/ - -/*! - \fn template<typename F> float QRgbaF<F>::green() const - - Returns the green color component. - - \sa setGreen() -*/ - -/*! - \fn template<typename F> void QRgbaF<F>::setGreen(float green) - - Sets the green color component of this color to \a green. - - \sa green() -*/ - -/*! - \fn template<typename F> float QRgbaF<F>::blue() const - - Returns the blue color component. - - \sa setBlue() -*/ - -/*! - \fn template<typename F> void QRgbaF<F>::setBlue(float blue) - - Sets the blue color component of this color to \a blue. - - \sa blue() -*/ - -/*! - \fn template<typename F> float QRgbaF<F>::alpha() const - - Returns the alpha channel. - - \sa setAlpha() -*/ - -/*! - \fn template<typename F> void QRgbaF<F>::setAlpha(float alpha) - - Sets the alpha of this color to \a alpha. - - \sa alpha() -*/ - -/*! - \fn template<typename F> float QRgbaF<F>::redNormalized() const - - Returns the red color component normalized to values between \c 0.0f and \c 1.0f. - - \sa setRed() -*/ - -/*! - \fn template<typename F> float QRgbaF<F>::greenNormalized() const - - Returns the green color component normalized to values between \c 0.0f and \c 1.0f. - - \sa setGreen() -*/ - -/*! - \fn template<typename F> float QRgbaF<F>::blueNormalized() const - - Returns the blue color component normalized to values between \c 0.0f and \c 1.0f. - - \sa setBlue() -*/ - -/*! - \fn template<typename F> float QRgbaF<F>::alphaNormalized() const - - Returns the alpha channel normalized to values between \c 0.0f and \c 1.0f. - - \sa alpha() -*/ - -/*! - \fn template<typename F> quint8 QRgbaF<F>::red8() const - - Returns the red color component as an 8-bit. -*/ - -/*! - \fn template<typename F> quint8 QRgbaF<F>::green8() const - - Returns the green color component as an 8-bit. -*/ - -/*! - \fn template<typename F> quint8 QRgbaF<F>::blue8() const - - Returns the blue color component as an 8-bit. -*/ - -/*! - \fn template<typename F> quint8 QRgbaF<F>::alpha8() const - - Returns the alpha channel as an 8-bit. -*/ - -/*! - \fn template<typename F> uint QRgbaF<F>::toArgb32() const - - Returns the color as a 32-bit ARGB value. - - \sa fromArgb32() -*/ - -/*! - \fn template<typename F> quint16 QRgbaF<F>::red16() const - - Returns the red color component as a 16-bit integer. -*/ - -/*! - \fn template<typename F> quint16 QRgbaF<F>::green16() const - - Returns the green color component as a 16-bit integer. -*/ - -/*! - \fn template<typename F> quint16 QRgbaF<F>::blue16() const - - Returns the blue color component as a 16-bit integer. -*/ - -/*! - \fn template<typename F> quint16 QRgbaF<F>::alpha16() const - - Returns the alpha channel as a 16-bit integer. -*/ - -/*! - \fn template<typename F> QRgbaF QRgbaF<F>::premultiplied() const - - Returns the color with the alpha premultiplied. - - \sa unpremultiplied() -*/ - -/*! - \fn template<typename F> QRgbaF QRgbaF<F>::unpremultiplied() const - - Returns the color with the alpha unpremultiplied. - - \sa premultiplied() -*/ |