CoreComponents 3.0.0
A Modern C++ Toolkit
|
Utility classes and helper functions More...
Classes | |
class | Arguments |
Command line arguments parser More... | |
class | Bundle |
Lookup files in installation directories. More... | |
class | Color |
ARGB color tuple (32 bit) More... | |
class | Monitor |
Object with a single void property definition More... | |
class | Property< T > |
Property bindings More... | |
class | Random |
Pseudo-random number generator. More... | |
class | Range |
Index range. More... | |
class | ResourceManager |
Keep track of application resource directories. More... | |
class | ResourcePath |
Automatically map resource paths to real file system paths. More... | |
class | Trigger |
Callback mechanism: get notified on state changes. More... | |
class | Variant |
Duck-typed value. More... | |
class | Version |
Software version tuple. More... | |
Color space transformation functions | |
void | rgbToHsv (double r, double g, double b, Out< double > h, Out< double > s, Out< double > v) |
Translate from the RGB to the HSV color space. | |
void | hsvToRgb (double h, double s, double v, Out< double > r, Out< double > g, Out< double > b) |
Translate from the HSV to the RGB color space. | |
void | rgbToHsl (double r, double g, double b, Out< double > h, Out< double > s, Out< double > l) |
Translate from the RGB to the HSL color space. | |
void | hslToRgb (double h, double s, double l, Out< double > r, Out< double > g, Out< double > b) |
Translate from the HSL to the RGB color space. | |
Utility classes and helper functions
Translate from the RGB to the HSV color space.
r | Red in range [0, 1] |
g | Green in range [0, 1] |
b | Blue in range [0, 1] |
h | Returns hue in range [0, 360) |
s | Returns saturation in range [0, 1] |
v | Returns value in range [0, 1] |
Translate from the HSV to the RGB color space.
h | Hue in range [0, 360] |
s | Saturation in range [0, 1] |
v | Value in range [0, 1] |
r | Returns red in range [0, 1] |
g | Returns green in range [0, 1] |
b | Returns blue in range [0, 1] |
Translate from the RGB to the HSL color space.
r | Red in range [0, 1] |
g | Green in range [0, 1] |
b | Blue in range [0, 1] |
h | Returns hue in range [0, 360) |
s | Returns saturation in range [0, 1] |
l | Returns luminance in range [0, 1] |
Translate from the HSL to the RGB color space.
h | Hue in range [0, 360] |
s | Saturation in range [0, 1] |
l | Luminance in range [0, 1] |
r | Returns red in range [0, 1] |
g | Returns green in range [0, 1] |
b | Returns blue in range [0, 1] |