Gnash
0.8.10
|
Interpolate in the linear RGB colorspace. More...
#include <LinearRGB.h>
Public Types | |
typedef ColorT | color_type |
Public Member Functions | |
linear_rgb_interpolator (const color_type &c1, const color_type &c2, size_t len) | |
void | operator++ () |
color_type | color () const |
Interpolate in the linear RGB colorspace.
This is an inefficient interpolation method because the ratio is transformed on the fly to convert between linear RGB and sRGB colorspaces.
typedef ColorT gnash::linear_rgb_interpolator::color_type |
gnash::linear_rgb_interpolator::linear_rgb_interpolator | ( | const color_type & | c1, |
const color_type & | c2, | ||
size_t | len | ||
) | [inline] |
color_type gnash::linear_rgb_interpolator::color | ( | ) | const [inline] |
References gnash::cdiff().
void gnash::linear_rgb_interpolator::operator++ | ( | ) | [inline] |