The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



MeanColor


Unit: SDL_sdlcolors
Class: none
Declaration: function MeanColor (cl1, cl2: TColor): TColor;

The function MeanColor calculates the average color between the two colors cl1 and cl2. MeanColor is a shortcut for the statement InterpolateColor (cl1, cl2, 0.5);


Last Update: 2012-Oct-20