19#include <QtGui/private/qtguiglobal_p.h>
20#include "QtGui/qrgb.h"
\keyword 16-bit Floating Point Support\inmodule QtCore \inheaderfile QFloat16
static QStringList get_colornames()
static bool qColorCheckCmykValidity(int c, int m, int y, int k, int a, const char *fn)
static auto qColorClampToIntRange(int value, const char *fn)
static bool qColorCheckCmykFValidity(float c, float m, float y, float k, float a, const char *fn)
static auto qColorClampToFloatRange(float value, const char *fn)
std::optional< QRgb > qt_get_hex_rgb(const char *name)
static constexpr bool qColorComponentIsInFloatRange(float value) noexcept
static bool qColorCheckHslValidity(int h, int s, int l, int a, const char *fn, QColorHueLimit hLimit)
static bool qColorCheckHsvValidity(int h, int s, int v, int a, const char *fn, QColorHueLimit hLimit)
Q_DECL_COLD_FUNCTION void qColorWarnParametersOutOfRange(const char *name, const char *fn)
QDataStream & operator>>(QDataStream &stream, QColor &color)
const uint qt_inv_premul_factor[256]
static bool qColorCheckHslFValidity(float h, float s, float l, float a, const char *fn)
static const qfloat16 & castF16(const quint16 &v)
static bool qColorCheckHsxValidity(int h, int s, int x, int a, const char *fn, const char *name, QColorHueLimit hLimit)
static std::optional< QRgb > get_named_rgb(QAnyStringView name)
static bool qColorCheckRgbValidity(int r, int g, int b, int a, const char *fn)
static constexpr bool qColorHueIsInIntRange(int hue, QColorHueLimit upperLimit) noexcept
static std::optional< QRgba64 > get_hex_rgb(QAnyStringView name)
static std::optional< QRgba64 > get_hex_rgb(const char *name, size_t len)
static bool qColorCheckHsxFValidity(float h, float s, float x, float a, const char *fn, const char *name)
static auto qColorClampNaNToNull(float value, const char *fn)
Q_DECL_COLD_FUNCTION void qColorWarnInvalidFloat(float value, const char *fn)
static std::optional< QRgb > get_named_rgb_no_space(const char *name_no_space)
static const int rgbTblSize
static constexpr bool qColorComponentIsInIntRange(int value) noexcept
bool operator<(const RGBData &data, const char *name)
static qfloat16 & castF16(quint16 &v)
Q_DECL_COLD_FUNCTION void qColorWarnInvalidInt(int value, const char *fn)
static constexpr bool qColorIsFloatNaN(float value) noexcept
static bool qColorCheckHsvFValidity(float h, float s, float v, float a, const char *fn)
static std::optional< QRgba64 > get_hex_rgb(const QChar *str, size_t len)
#define QRGBA(r, g, b, a)
QDebug operator<<(QDebug dbg, const QColor &c)
static QColorRgbFValidity qColorCheckRgbFValidity(float r, float g, float b, float a, QColor::Spec cspec, const char *fn)
static constexpr bool qColorHueIsInFloatRange(float hue) noexcept
bool operator<(const char *name, const RGBData &data)