X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fhistogram_bezier%2Fbistogramconfig.h;h=c93aa55c7a86b9962581688925a82dab817ec4ca;hp=bcfb98489624a4edeae27c5def5d81d243e8fa1a;hb=04031cc2a664d2a6d9d2a37954c55cc68742d78c;hpb=a19a685a46ddc630010788707d9e5b9d2342af46 diff --git a/cinelerra-5.1/plugins/histogram_bezier/bistogramconfig.h b/cinelerra-5.1/plugins/histogram_bezier/bistogramconfig.h index bcfb9848..c93aa55c 100644 --- a/cinelerra-5.1/plugins/histogram_bezier/bistogramconfig.h +++ b/cinelerra-5.1/plugins/histogram_bezier/bistogramconfig.h @@ -35,6 +35,7 @@ public: ~HistogramPoint(); int equivalent(HistogramPoint *src); + void copy_from(HistogramPoint *that); float x, y; float gradient; float xoffset_left; @@ -50,13 +51,13 @@ public: // 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