204 CCmyk(
double c = 0.0,
double m = 0.0,
double y = 0.0,
double k = 0.0);
209 void SetC(
double value);
211 void SetM(
double value);
213 void SetY(
double value);
215 void SetK(
double value);
311 CCmyk retVal = *
this;
321 CCmyk retVal = *
this;
331 CCmyk retVal = *
this;
341 CCmyk retVal = *
this;
351 CCmyk retVal = *
this;
361 CCmyk retVal = *
this;
Primitive for representation of CMYK (Cyan, Magenta, Yellow, Black) color values.
TComposedColor< 4 > BaseClass
CCmyk operator+(const CCmyk &color) const
const CCmyk & operator-=(const CCmyk &color)
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
CCmyk operator/(const CCmyk &color) const
CCmyk operator*(const CCmyk &color) const
const CCmyk & operator*=(const CCmyk &color)
const CCmyk & operator/=(const CCmyk &color)
CCmyk(double c=0.0, double m=0.0, double y=0.0, double k=0.0)
CCmyk & operator=(const CCmyk &color)
const CCmyk & operator+=(const CCmyk &color)
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.