Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 481:74a7729e3653
* sort out cropping and scaling for x-smoothed draw buffer
author | Chris Cannam |
---|---|
date | Tue, 03 Feb 2009 18:03:48 +0000 |
parents | 567b94e627b8 |
children | a926fca1f280 |
comparison
equal
deleted
inserted
replaced
480:567b94e627b8 | 481:74a7729e3653 |
---|---|
411 typedef std::map<const View *, MagnitudeRange> ViewMagMap; | 411 typedef std::map<const View *, MagnitudeRange> ViewMagMap; |
412 mutable ViewMagMap m_viewMags; | 412 mutable ViewMagMap m_viewMags; |
413 mutable std::vector<MagnitudeRange> m_columnMags; | 413 mutable std::vector<MagnitudeRange> m_columnMags; |
414 void invalidateMagnitudes(); | 414 void invalidateMagnitudes(); |
415 bool updateViewMagnitudes(View *v) const; | 415 bool updateViewMagnitudes(View *v) const; |
416 bool paintColumnValues2(View *v, FFTModel *fft, int w, int h, | 416 bool paintDrawBuffer(View *v, FFTModel *fft, int w, int h, |
417 int *binforx, int *binfory) const; | 417 int *binforx, int *binfory) const; |
418 //!!! phasing this one out: | |
418 bool paintColumnValues(View *v, FFTModel *fft, int x0, int x, | 419 bool paintColumnValues(View *v, FFTModel *fft, int x0, int x, |
419 int minbin, int maxbin, | 420 int minbin, int maxbin, |
420 float displayMinFreq, float displayMaxFreq, | 421 float displayMinFreq, float displayMaxFreq, |
421 float xPixelRatio, | 422 float xPixelRatio, |
422 const int h, | 423 const int h, |