31 CCmy(
double c = 0.0,
double m = 0.0,
double y = 0.0);
36 void SetC(
double value);
38 void SetM(
double value);
40 void SetY(
double value);
Primitive for representation of CMY color value.
CCmy operator/(double value) const
CCmy operator*(double value) const
const CCmy & operator/=(const CCmy &color)
CCmy & operator=(const CCmy &color)
const CCmy & operator*=(const CCmy &color)
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
CCmy operator+(const CCmy &color) const
const CCmy & operator-=(const CCmy &color)
CCmy operator-(const CCmy &color) const
CCmy operator*(const CCmy &color) const
const CCmy & operator+=(const CCmy &color)
TComposedColor< 3 > BaseClass
CCmy operator/(const CCmy &color) const
CCmy(double c=0.0, double m=0.0, double y=0.0)
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)
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.