Functions
color_widgets::detail Namespace Reference

Functions

qreal color_chromaF (const QColor &c)
 
QColor color_from_hsl (qreal hue, qreal sat, qreal lig, qreal alpha=1)
 
QColor color_from_lch (qreal hue, qreal chroma, qreal luma, qreal alpha=1)
 
qreal color_HSL_saturationF (const QColor &col)
 
qreal color_lightnessF (const QColor &c)
 
qreal color_lumaF (const QColor &c)
 
QColor rainbow_hsv (qreal hue)
 
QColor rainbow_lch (qreal hue)
 

Function Documentation

◆ color_chromaF()

qreal color_widgets::detail::color_chromaF ( const QColor &  c)
inline

Definition at line 29 of file color_utils.hpp.

◆ color_from_hsl()

QColor color_widgets::detail::color_from_hsl ( qreal  hue,
qreal  sat,
qreal  lig,
qreal  alpha = 1 
)

Definition at line 55 of file color_utils.cpp.

◆ color_from_lch()

QColor color_widgets::detail::color_from_lch ( qreal  hue,
qreal  chroma,
qreal  luma,
qreal  alpha = 1 
)

Definition at line 28 of file color_utils.cpp.

◆ color_HSL_saturationF()

qreal color_widgets::detail::color_HSL_saturationF ( const QColor &  col)
inline

Definition at line 58 of file color_utils.hpp.

◆ color_lightnessF()

qreal color_widgets::detail::color_lightnessF ( const QColor &  c)
inline

Definition at line 52 of file color_utils.hpp.

◆ color_lumaF()

qreal color_widgets::detail::color_lumaF ( const QColor &  c)
inline

Definition at line 36 of file color_utils.hpp.

◆ rainbow_hsv()

QColor color_widgets::detail::rainbow_hsv ( qreal  hue)
inline

Definition at line 47 of file color_utils.hpp.

◆ rainbow_lch()

QColor color_widgets::detail::rainbow_lch ( qreal  hue)
inline

Definition at line 42 of file color_utils.hpp.



plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51