Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickcolordialogutils_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QQUICKCOLORDIALOGUTILS_P_H
5#define QQUICKCOLORDIALOGUTILS_P_H
6
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtCore/QtGlobal>
20
21std::pair<qreal, qreal> getSaturationAndValue(qreal saturation, qreal lightness);
22
23std::pair<qreal, qreal> getSaturationAndLightness(qreal saturation, qreal value);
24
25struct HSVA
26{
27 qreal h = .0;
28 qreal s = .0;
29 union {
30 qreal v = 1.0;
32 };
33 qreal a = 1.0;
34};
35
36#endif // QQUICKCOLORDIALOGUTILS_P_H
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLsizei const GLfloat * v
[13]
GLboolean GLboolean GLboolean GLboolean a
[7]
GLfloat GLfloat GLfloat GLfloat h
GLdouble s
[6]
Definition qopenglext.h:235
std::pair< qreal, qreal > getSaturationAndLightness(qreal saturation, qreal value)
std::pair< qreal, qreal > getSaturationAndValue(qreal saturation, qreal lightness)
double qreal
Definition qtypes.h:187