Anti-Grain Geometry - AGG (libagg)  2.5
Classes | Public Types | Public Member Functions | Static Public Member Functions
agg::gradient_lut< ColorInterpolator, ColorLutSize > Class Template Reference

#include <agg_gradient_lut.h>

List of all members.

Classes

struct  color_point

Public Types

enum  { color_lut_size = ColorLutSize }
typedef ColorInterpolator interpolator_type
typedef
interpolator_type::color_type 
color_type

Public Member Functions

 gradient_lut ()
void remove_all ()
void add_color (double offset, const color_type &color)
void build_lut ()
const color_typeoperator[] (unsigned i) const

Static Public Member Functions

static unsigned size ()

template<class ColorInterpolator, unsigned ColorLutSize = 256>
class agg::gradient_lut< ColorInterpolator, ColorLutSize >


Member Typedef Documentation

template<class ColorInterpolator , unsigned ColorLutSize = 256>
typedef interpolator_type::color_type agg::gradient_lut< ColorInterpolator, ColorLutSize >::color_type
template<class ColorInterpolator , unsigned ColorLutSize = 256>
typedef ColorInterpolator agg::gradient_lut< ColorInterpolator, ColorLutSize >::interpolator_type

Member Enumeration Documentation

template<class ColorInterpolator , unsigned ColorLutSize = 256>
anonymous enum
Enumerator:
color_lut_size 

Constructor & Destructor Documentation

template<class ColorInterpolator , unsigned ColorLutSize = 256>
agg::gradient_lut< ColorInterpolator, ColorLutSize >::gradient_lut ( ) [inline]

Member Function Documentation

template<class T , unsigned S>
void agg::gradient_lut< T, S >::add_color ( double  offset,
const color_type color 
)
template<class T , unsigned S>
void agg::gradient_lut< T, S >::build_lut ( )
template<class ColorInterpolator , unsigned ColorLutSize = 256>
const color_type& agg::gradient_lut< ColorInterpolator, ColorLutSize >::operator[] ( unsigned  i) const [inline]
template<class T , unsigned S>
void agg::gradient_lut< T, S >::remove_all ( )
template<class ColorInterpolator , unsigned ColorLutSize = 256>
static unsigned agg::gradient_lut< ColorInterpolator, ColorLutSize >::size ( ) [inline, static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines