#include <a60-svg-color.h>
|
| ftype | h |
| ftype | s |
| | Hue degree between 0.0 and 360.0.
|
| ftype | v |
| | Saturation between 0.0 (gray) and 1.0.
|
◆ ftype
◆ color_qf() [1/5]
| svg::color_qf::color_qf |
( |
| ) |
|
|
default |
Value between 0.0 (black) and 1.0.
◆ color_qf() [2/5]
| svg::color_qf::color_qf |
( |
const color_qf & | | ) |
|
|
default |
◆ color_qf() [3/5]
◆ color_qf() [4/5]
| svg::color_qf::color_qf |
( |
const color_qi & | cqi | ) |
|
|
inline |
◆ color_qf() [5/5]
| svg::color_qf::color_qf |
( |
const color | e | ) |
|
|
inline |
◆ operator=()
◆ to_string()
| string svg::color_qf::to_string |
( |
color_qf | s | ) |
|
|
inlinestatic |
◆ to_color_qi()
| color_qi svg::color_qf::to_color_qi |
( |
| ) |
const |
|
inline |
◆ rgb_to_hsv()
◆ hsv_to_rgb()
◆ tint_perceptual()
Interpolated tinting algorithm from palette (ciecam16j70_palette).
- Parameters
-
| n | is the [0,10] 11-step perceptual gradation from dark to light. Assume that color_qi has been converted to color_qf. |
Definition at line 688 of file a60-svg-color.h.
◆ tint_percentage()
| color_qi svg::color_qf::tint_percentage |
( |
const double | tp, |
|
|
const double | rmin = 0, |
|
|
const double | rmax = 100 ) |
|
inline |
Procedural tinting algorithm.
- Parameters
-
| tp | tint percentage original color remaining |
| trange | upper/lower bounds for percentage range (0, 100) |
Definition at line 722 of file a60-svg-color.h.
The documentation for this struct was generated from the following file: