Euphoria
rgb_blend.h File Reference
#include "base/rgb.h"

Go to the source code of this file.

Namespaces

 eu
 
 eu::core
 

Enumerations

enum class  eu::core::BlendMode {
  eu::core::normal , eu::core::lighten , eu::core::darken , eu::core::multiply ,
  eu::core::average , eu::core::add , eu::core::subtract , eu::core::difference ,
  eu::core::negation , eu::core::screen , eu::core::exclusion , eu::core::overlay ,
  eu::core::soft_light , eu::core::hard_light , eu::core::color_dodge , eu::core::color_burn ,
  eu::core::linear_dodge , eu::core::linear_burn , eu::core::linear_light , eu::core::vivid_light ,
  eu::core::pin_light , eu::core::hard_mix , eu::core::reflect , eu::core::glow ,
  eu::core::phoenix
}
 

Functions

Rgb eu::core::blend (const Rgb &top, const Rgb &bottom, BlendMode mode)
 
Rgba eu::core::blend (const Rgba &top, const Rgba &bottom, BlendMode mode)
 
Rgbi eu::core::blend (const Rgbi &top, const Rgbi &bottom, BlendMode mode)
 
Rgbai eu::core::blend (const Rgbai &top, const Rgbai &bottom, BlendMode mode)