#include <RgbColorBase.h>
|
static float | _CalcColor (float p, float q, float t) |
|
static void | _HslToRgb (const HslColor &color, float *r, float *g, float *b) |
|
static void | _HsbToRgb (const HsbColor &color, float *r, float *g, float *b) |
|
template<typename T_COLOR , typename T_RESULT > |
static T_RESULT | _Compare (const T_COLOR &left, const T_COLOR &right, T_RESULT epsilon) |
|
◆ _CalcColor()
float RgbColorBase::_CalcColor |
( |
float |
p, |
|
|
float |
q, |
|
|
float |
t |
|
) |
| |
|
staticprotected |
◆ _Compare()
template<typename T_COLOR , typename T_RESULT >
static T_RESULT RgbColorBase::_Compare |
( |
const T_COLOR & |
left, |
|
|
const T_COLOR & |
right, |
|
|
T_RESULT |
epsilon |
|
) |
| |
|
inlinestaticprotected |
◆ _HsbToRgb()
void RgbColorBase::_HsbToRgb |
( |
const HsbColor & |
color, |
|
|
float * |
r, |
|
|
float * |
g, |
|
|
float * |
b |
|
) |
| |
|
staticprotected |
◆ _HslToRgb()
void RgbColorBase::_HslToRgb |
( |
const HslColor & |
color, |
|
|
float * |
r, |
|
|
float * |
g, |
|
|
float * |
b |
|
) |
| |
|
staticprotected |