Gnash 0.8.10dev
Public Types | Public Member Functions
gnash::linear_rgb_interpolator< ColorT > Struct Template Reference

Interpolate in the linear RGB colorspace. More...

#include <LinearRGB.h>

List of all members.

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

Detailed Description

template<class ColorT>
struct gnash::linear_rgb_interpolator< ColorT >

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.


Member Typedef Documentation

template<class ColorT >
typedef ColorT gnash::linear_rgb_interpolator< ColorT >::color_type

Constructor & Destructor Documentation

template<class ColorT >
gnash::linear_rgb_interpolator< ColorT >::linear_rgb_interpolator ( const color_type c1,
const color_type c2,
size_t  len 
) [inline]

Member Function Documentation

template<class ColorT >
color_type gnash::linear_rgb_interpolator< ColorT >::color ( ) const [inline]

References gnash::cdiff().

template<class ColorT >
void gnash::linear_rgb_interpolator< ColorT >::operator++ ( ) [inline]

The documentation for this struct was generated from the following file: