Color.hpp File Reference

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
 The library's main namespace.
 
 Gosu::Colors
 

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...
 
GOSU_DEPRECATED const Color Gosu::Colors::none (0x00000000)
 
GOSU_DEPRECATED const Color Gosu::Colors::black (0xff000000)
 
GOSU_DEPRECATED const Color Gosu::Colors::gray (0xff808080)
 
GOSU_DEPRECATED const Color Gosu::Colors::white (0xffffffff)
 
GOSU_DEPRECATED const Color Gosu::Colors::aqua (0xff00ffff)
 
GOSU_DEPRECATED const Color Gosu::Colors::red (0xffff0000)
 
GOSU_DEPRECATED const Color Gosu::Colors::green (0xff00ff00)
 
GOSU_DEPRECATED const Color Gosu::Colors::blue (0xff0000ff)
 
GOSU_DEPRECATED const Color Gosu::Colors::yellow (0xffffff00)
 
GOSU_DEPRECATED const Color Gosu::Colors::fuchsia (0xffff00ff)
 
GOSU_DEPRECATED const Color Gosu::Colors::cyan (0xff00ffff)
 

Detailed Description

Interface of the Color class.

Definition in file Color.hpp.