Anti-Grain Geometry Tutorial
agg::span_gradient< ColorT, Interpolator, GradientF, ColorF > Class Template Reference

Public Types

enum  downscale_shift_e { downscale_shift }
 
typedef Interpolator interpolator_type
 
typedef ColorT color_type
 

Public Member Functions

 span_gradient (interpolator_type &inter, GradientF &gradient_function, ColorF &color_function, double d1, double d2)
 
interpolator_type & interpolator ()
 
const GradientF & gradient_function () const
 
const ColorF & color_function () const
 
double d1 () const
 
double d2 () const
 
void interpolator (interpolator_type &i)
 
void gradient_function (GradientF &gf)
 
void color_function (ColorF &cf)
 
void d1 (double v)
 
void d2 (double v)
 
void prepare ()
 
void generate (color_type *span, int x, int y, unsigned len)
 

Detailed Description

template<class ColorT, class Interpolator, class GradientF, class ColorF>
class agg::span_gradient< ColorT, Interpolator, GradientF, ColorF >

Definition at line 43 of file agg_span_gradient.h.


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