Q3ColorRGB_Add
You can use theQ3ColorRGB_Addfunction to add two colors.
TQ3ColorRGB *Q3ColorRGB_Add ( const TQ3ColorRGB *c1, const TQ3ColorRGB *c2, TQ3ColorRGB *result);
c1- An RGB color structure.
c2- An RGB color structure.
result- On exit, a pointer to an RGB color structure for the color that is the sum of the two specified colors.
DESCRIPTION
TheQ3ColorRGB_Addfunction returns, as its function result and in theresultparameter, a pointer to an RGB color structure that represents the sum of the colors specified by thec1andc2parameters.