Definition of the boolean type.
void CopyColor(Tcolor *c_dst, Tcolor *c_src)
Copy constructor.
double GetRed(Tcolor *c)
Gets the red component of a color.
double GetBlue(Tcolor *c)
Gets the blue component of a color.
double GetGreen(Tcolor *c)
Gets the green component of a color.
boolean NullColor(Tcolor *c)
Identifies a non-valid color.
void DeleteColor(Tcolor *c)
Destructor.
void NewColor(double r, double g, double b, Tcolor *c)
Constructor.
void CostColor(double cost, double minCost, Tcolor *c)
Definees a color in function of a cost.
void ScaleColor(double s, Tcolor *c)
Scales a color.
void SetBlue(double b, Tcolor *c)
Changes the blue component of a color.
void SetRed(double r, Tcolor *c)
Changes the red component of a color.
void PrintColor(FILE *f, Tcolor *c)
Prints the color.
void SetGreen(double g, Tcolor *c)
Changes the green component of a color.
Follow us!