~HistogramPoint();
int equivalent(HistogramPoint *src);
+ void copy_from(HistogramPoint *that);
float x, y;
float gradient;
float xoffset_left;
// Insert new point
HistogramPoint* insert(float x, float y);
+ void clear();
int equivalent(HistogramPoints *src);
void boundaries();
void copy_from(HistogramPoints *src);
- void interpolate(HistogramPoints *prev,
- HistogramPoints *next,
- double prev_scale,
- double next_scale);
+ static int cmprx(HistogramPoint *ap, HistogramPoint *bp);
+ void interpolate(HistogramPoints *prev, HistogramPoints *next,
+ double prev_scale, double next_scale);
};
class HistogramConfig