Q3ColorRGB_Scale
You can use theQ3ColorRGB_Scalefunction to scale a color.
TQ3ColorRGB *Q3ColorRGB_Scale ( const TQ3ColorRGB *color, float scale, TQ3ColorRGB *result);
color- An RGB color structure.
scale- A scaling factor.
result- On exit, a pointer to an RGB color structure for the color that is the scale of the specified color.
DESCRIPTION
TheQ3ColorRGB_Scalefunction returns, as its function result and in theresultparameter, a pointer to an RGB color structure that represents the result of scaling the color specified by thecolorparameter by the factor specified by thescaleparameter.