color.cpp File Reference

#include <ETL/angle>
#include "color.h"
#include <cstdio>

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 Documentation

#define COLOR_EPSILON   (0.000001f)
 


Typedef Documentation

typedef Color(* blendfunc)(Color &, Color &, float)
 


Function Documentation

static Color blendfunc_COMPOSITE (  Color &  src,
Color &  dest,
float  amount
)  [static]
 

static Color blendfunc_STRAIGHT (  Color &  src,
Color &  bg,
float  amount
)  [static]
 

static Color blendfunc_ONTO (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_STRAIGHT_ONTO (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_BRIGHTEN (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_DARKEN (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_ADD (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_SUBTRACT (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_DIFFERENCE (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_MULTIPLY (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_DIVIDE (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_COLOR (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_HUE (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_SATURATION (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_LUMINANCE (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_BEHIND (  Color &  a,
Color &  b,
float  amount
)  [static]
 

<

static Color blendfunc_ALPHA_BRIGHTEN (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_ALPHA_DARKEN (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_SCREEN (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_OVERLAY (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_HARD_LIGHT (  Color &  a,
Color &  b,
float  amount
)  [static]
 

static Color blendfunc_ALPHA_OVER (  Color &  a,
Color &  b,
float  amount
)  [static]
 


Generated on Fri Jun 23 15:20:50 2006 for synfig by  doxygen 1.4.6