Gosu
|
Interface of the Color class. More...
Go to the source code of this file.
Classes | |
class | Gosu::Color |
Represents an RGBA color value with 8 bits for each channel. More... | |
Namespaces | |
Gosu | |
Functions | |
bool | Gosu::operator< (Color a, Color b) |
bool | Gosu::operator== (Color a, Color b) |
bool | Gosu::operator!= (Color a, Color b) |
Color | Gosu::interpolate (Color a, Color b, double weight=0.5) |
Interpolates linearly between two colors, with a given weight towards the second color. More... | |
Color | Gosu::multiply (Color a, Color b) |
Combines two colors as if their channels were mapped to the 0..1 range and then multiplied with each other. More... | |
Interface of the Color class.
Definition in file Color.hpp.