180 CRgb(
double r = 0.0,
double g = 0.0,
double b = 0.0);
185 void SetRed(
double value);
Primitive for representation of RGB color values.
const CRgb & operator*=(const CRgb &color)
CRgb operator*(const CRgb &color) const
CRgb(double r=0.0, double g=0.0, double b=0.0)
void SetBlue(double value)
const CRgb & operator+=(const CRgb &color)
TComposedColor< 3 > BaseClass
const CRgb & operator/=(const CRgb &color)
CRgb & operator=(const CRgb &color)
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
void SetGreen(double value)
const CRgb & operator-=(const CRgb &color)
CRgb operator+(const CRgb &color) const
void SetRed(double value)
CRgb operator/(const CRgb &color) const
Generic fixed-size color implementation template.
const TComposedColor< Size > & operator=(const TComposedColor< Size > &color)
const TComposedColor< Size > & operator+=(const TComposedColor< Size > &color)
const TComposedColor< Size > & operator-=(const TComposedColor< Size > &color)
const TComposedColor< Size > & operator*=(const TComposedColor< Size > &color)
const TComposedColor< Size > & operator/=(const TComposedColor< Size > &color)
TVector< Size, Element > operator-() const
void SetElement(int i, const Element &value)
Sets the element at the specified index.
const Element & GetElement(int i) const
Gets the element at the specified index (read-only).
Represents an input/output persistence archive for object serialization.
Contains color management classes.