16 #ifndef AGG_SPAN_INTERPOLATOR_ADAPTOR_INCLUDED 17 #define AGG_SPAN_INTERPOLATOR_ADAPTOR_INCLUDED 19 #include "agg_basics.h" 25 template<
class Interpolator,
class Distortion>
29 typedef Interpolator base_type;
30 typedef typename base_type::trans_type trans_type;
31 typedef Distortion distortion_type;
36 distortion_type& dist) :
44 distortion_type& dist,
45 double x,
double y,
unsigned len) :
46 base_type(trans, x, y, len),
52 distortion_type& distortion()
const 58 void distortion(distortion_type& dist)
64 void coordinates(
int* x,
int* y)
const 66 base_type::coordinates(x, y);
67 m_distortion->calculate(x, y);
72 distortion_type* m_distortion;