#include <Color4.h>
Inherits Color3.
Inheritance diagram for Color4:


Public Methods | |
| Color4 () | |
| Color4 (float rr, float gg, float bb) | |
| Color4 (float rr, float gg, float bb, float aa) | |
| Color4 (const Color3 &c, float aa) | |
| Color4 (const Color4 &c) | |
| float & | operator[] (unsigned int i) |
| Color4 & | clamp () |
| Color4 & | lerp (Color4 &from, Color4 &to, float t) |
| Color4 & | operator= (const Color3 &c) |
| Color4 & | operator= (const Color4 &c) |
| void | operator-= (const Color4 &c) |
| void | operator+= (const Color4 &c) |
| void | operator *= (float s) |
| void | operator *= (const Color4 &c) |
| void | operator/= (float s) |
| Color4 | operator- (const Color4 &c) const |
| Color4 | operator+ (const Color4 &c) const |
| Color4 | operator * (float s) const |
| Color4 | operator * (const Color4 &c) const |
| Color4 | operator/ (float s) const |
| float | gray () const |
| Color4 | blend (float d, float s, const Color4 &src) |
| Color4 | over (const Color4 &c) |
| Color4 | in (const Color4 &c) |
| Color4 | heldout (const Color4 &c) |
| Color4 | atop (const Color4 &c) |
| Color4 | xor (const Color4 &c) |
Public Attributes | |
| float | a |
Friends | |
| ostream & | operator<< (ostream &stream, Color4 &c) |
| ObjectFile & | operator>> (ObjectFile &f, Color4 &c) |