Q3ColorRGB_Accumulate
You can use theQ3ColorRGB_Accumulatefunction to accumulate colors.
TQ3ColorRGB *Q3ColorRGB_Accumulate ( const TQ3ColorRGB *src, TQ3ColorRGB *result);
src- An RGB color structure.
result- On entry, an RGB color structure. On exit, a pointer to an RGB color structure for the color that is the result of adding the source color to the result color.
DESCRIPTION
TheQ3ColorRGB_Accumulatefunction returns, as its function result and in theresultparameter, a pointer to an RGB color structure that is the result of adding the color specified by thesrcparameter to the color specified by theresultparameter.