#include <ETL/angle>
#include "color.h"
#include <cstdio>
#include <sstream>
#include <iostream>
Defines | |
#define | COLOR_EPSILON (0.000001f) |
Typedefs | |
typedef Color(* | blendfunc )(Color &, Color &, float) |
Functions | |
static Color | blendfunc_COMPOSITE (Color &src, Color &dest, float amount) |
static Color | blendfunc_STRAIGHT (Color &src, Color &bg, float amount) |
static Color | blendfunc_ONTO (Color &a, Color &b, float amount) |
static Color | blendfunc_STRAIGHT_ONTO (Color &a, Color &b, float amount) |
static Color | blendfunc_BRIGHTEN (Color &a, Color &b, float amount) |
static Color | blendfunc_DARKEN (Color &a, Color &b, float amount) |
static Color | blendfunc_ADD (Color &a, Color &b, float amount) |
static Color | blendfunc_SUBTRACT (Color &a, Color &b, float amount) |
static Color | blendfunc_DIFFERENCE (Color &a, Color &b, float amount) |
static Color | blendfunc_MULTIPLY (Color &a, Color &b, float amount) |
static Color | blendfunc_DIVIDE (Color &a, Color &b, float amount) |
static Color | blendfunc_COLOR (Color &a, Color &b, float amount) |
static Color | blendfunc_HUE (Color &a, Color &b, float amount) |
static Color | blendfunc_SATURATION (Color &a, Color &b, float amount) |
static Color | blendfunc_LUMINANCE (Color &a, Color &b, float amount) |
static Color | blendfunc_BEHIND (Color &a, Color &b, float amount) |
static Color | blendfunc_ALPHA_BRIGHTEN (Color &a, Color &b, float amount) |
static Color | blendfunc_ALPHA_DARKEN (Color &a, Color &b, float amount) |
static Color | blendfunc_SCREEN (Color &a, Color &b, float amount) |
static Color | blendfunc_OVERLAY (Color &a, Color &b, float amount) |
static Color | blendfunc_HARD_LIGHT (Color &a, Color &b, float amount) |
static Color | blendfunc_ALPHA_OVER (Color &a, Color &b, float amount) |
#define COLOR_EPSILON (0.000001f) |