Gnash  0.8.10
Public Types | Public Member Functions
gnash::linear_rgb_interpolator Struct 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

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


Constructor & Destructor Documentation

gnash::linear_rgb_interpolator::linear_rgb_interpolator ( const color_type c1,
const color_type c2,
size_t  len 
) [inline]

Member Function Documentation

color_type gnash::linear_rgb_interpolator::color ( ) const [inline]

References gnash::cdiff().

void gnash::linear_rgb_interpolator::operator++ ( ) [inline]

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