comparison layer/SpectrogramLayer.h @ 479:0033dbfb92e3

* smooth x-scaling for images in spectrogram -- needs an overlap to avoid discontinuity
author Chris Cannam
date Tue, 03 Feb 2009 12:55:09 +0000
parents 0990b95140e3
children 567b94e627b8
comparison
equal deleted inserted replaced
478:0990b95140e3 479:0033dbfb92e3
414 void invalidateMagnitudes(); 414 void invalidateMagnitudes();
415 bool updateViewMagnitudes(View *v) const; 415 bool updateViewMagnitudes(View *v) const;
416 bool paintColumnValues(View *v, FFTModel *fft, int x0, int x, 416 bool paintColumnValues(View *v, FFTModel *fft, int x0, int x,
417 int minbin, int maxbin, 417 int minbin, int maxbin,
418 float displayMinFreq, float displayMaxFreq, 418 float displayMinFreq, float displayMaxFreq,
419 float xPixelRatio,
419 const int h, 420 const int h,
420 const float *yforbin) const; 421 const float *yforbin) const;
421 422
422 virtual void updateMeasureRectYCoords(View *v, const MeasureRect &r) const; 423 virtual void updateMeasureRectYCoords(View *v, const MeasureRect &r) const;
423 virtual void setMeasureRectYCoord(View *v, MeasureRect &r, bool start, int y) const; 424 virtual void setMeasureRectYCoord(View *v, MeasureRect &r, bool start, int y) const;