#include <demo.hpp>
Definition at line 27 of file demo.hpp.
Public Member Functions | |
Color () | |
Color (float theta) | |
Obtains a color from the color wheel. | |
void | IncreaseBrightness (float factor) |
Increases a color's brightness. | |
void | DecreaseBrightness (float factor) |
Decreases a color's brightness. | |
Color (RawColor raw) | |
operator RawColor () | |
operator RawColor () const | |
Color (float r, float g, float b, float a) | |
Color (const float *f) | |
Static Public Member Functions | |
static Color | Blend (const Color &a, const Color &b, float mu) |
Interpolate two colors. | |
Public Attributes | |
union { | |
struct { | |
float r | |
float g | |
float b | |
float a | |
} | |
RawColor raw | |
}; | |
Static Public Attributes | |
static Color | Transparent |
static Color | Black |
static Color | White |
static Color | PaleYellow |
static Color | PaleGreen |
static Color | PaleRed |
static Color | Red |
static Color | Green |
static Color | Blue |