Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 1039:bfce7940c017 spectrogram-minor-refactor
Don't use partial paints when zoomed in far enough to have boundary alignment concerns. (But boundary calculations are still wrong, leading to a logic error exception.)
author | Chris Cannam |
---|---|
date | Tue, 02 Feb 2016 16:00:31 +0000 |
parents | 0be17aafa935 |
children | 5e5873c24142 |
comparison
equal
deleted
inserted
replaced
1038:6d4fa45a271d | 1039:bfce7940c017 |
---|---|
410 const std::vector<int> &binforx, | 410 const std::vector<int> &binforx, |
411 const std::vector<double> &binfory, | 411 const std::vector<double> &binfory, |
412 bool usePeaksCache, | 412 bool usePeaksCache, |
413 MagnitudeRange &overallMag, | 413 MagnitudeRange &overallMag, |
414 bool &overallMagChanged, | 414 bool &overallMagChanged, |
415 bool rightToLeft) const; | 415 bool rightToLeft, |
416 double softTimeLimit) const; | |
416 int paintDrawBufferPeakFrequencies(LayerGeometryProvider *v, int w, int h, | 417 int paintDrawBufferPeakFrequencies(LayerGeometryProvider *v, int w, int h, |
417 const std::vector<int> &binforx, | 418 const std::vector<int> &binforx, |
418 int minbin, | 419 int minbin, |
419 int maxbin, | 420 int maxbin, |
420 double displayMinFreq, | 421 double displayMinFreq, |
421 double displayMaxFreq, | 422 double displayMaxFreq, |
422 bool logarithmic, | 423 bool logarithmic, |
423 MagnitudeRange &overallMag, | 424 MagnitudeRange &overallMag, |
424 bool &overallMagChanged, | 425 bool &overallMagChanged, |
425 bool rightToLeft) const; | 426 bool rightToLeft, |
427 double softTimeLimit) const; | |
426 | 428 |
427 virtual void updateMeasureRectYCoords(LayerGeometryProvider *v, const MeasureRect &r) const; | 429 virtual void updateMeasureRectYCoords(LayerGeometryProvider *v, const MeasureRect &r) const; |
428 virtual void setMeasureRectYCoord(LayerGeometryProvider *v, MeasureRect &r, bool start, int y) const; | 430 virtual void setMeasureRectYCoord(LayerGeometryProvider *v, MeasureRect &r, bool start, int y) const; |
429 }; | 431 }; |
430 | 432 |