color.cpp File Reference

Color Class. More...

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

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)


Detailed Description

Color Class.

$Id$


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 Jul 31 00:01:56 2009 for synfig-core by  doxygen 1.5.6