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

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

Definition at line 29 of file color_utils.hpp.

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.

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.

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

Definition at line 58 of file color_utils.hpp.

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

Definition at line 52 of file color_utils.hpp.

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

Definition at line 36 of file color_utils.hpp.

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

Definition at line 47 of file color_utils.hpp.

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 Sun Dec 6 2020 04:02:51