Anti-Grain Geometry - AGG (libagg)  2.5
Public Types | Public Member Functions | Public Attributes
agg::gradient_linear_color< ColorT > Struct Template Reference

#include <agg_span_gradient.h>

List of all members.

Public Types

typedef ColorT color_type

Public Member Functions

 gradient_linear_color ()
 gradient_linear_color (const color_type &c1, const color_type &c2, unsigned size=256)
unsigned size () const
color_type operator[] (unsigned v) const
void colors (const color_type &c1, const color_type &c2, unsigned size=256)

Public Attributes

color_type m_c1
color_type m_c2
unsigned m_size

template<class ColorT>
struct agg::gradient_linear_color< ColorT >


Member Typedef Documentation

template<class ColorT >
typedef ColorT agg::gradient_linear_color< ColorT >::color_type

Constructor & Destructor Documentation

template<class ColorT >
agg::gradient_linear_color< ColorT >::gradient_linear_color ( ) [inline]
template<class ColorT >
agg::gradient_linear_color< ColorT >::gradient_linear_color ( const color_type c1,
const color_type c2,
unsigned  size = 256 
) [inline]

Member Function Documentation

template<class ColorT >
void agg::gradient_linear_color< ColorT >::colors ( const color_type c1,
const color_type c2,
unsigned  size = 256 
) [inline]
template<class ColorT >
color_type agg::gradient_linear_color< ColorT >::operator[] ( unsigned  v) const [inline]
template<class ColorT >
unsigned agg::gradient_linear_color< ColorT >::size ( ) const [inline]

Member Data Documentation

template<class ColorT >
color_type agg::gradient_linear_color< ColorT >::m_c1
template<class ColorT >
color_type agg::gradient_linear_color< ColorT >::m_c2
template<class ColorT >
unsigned agg::gradient_linear_color< ColorT >::m_size

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