comparison layer/WaveformLayer.cpp @ 1395:32bbb86094c3

Merge from branch spectrogramparam
author Chris Cannam
date Wed, 14 Nov 2018 14:23:17 +0000
parents a0bfe366f9cb
children 28075cc658c9
comparison
equal deleted inserted replaced
1380:78eecb19e688 1395:32bbb86094c3
781 my = m + (((ch - minChannel) * h) / channels); 781 my = m + (((ch - minChannel) * h) / channels);
782 } 782 }
783 783
784 // Horizontal axis along middle 784 // Horizontal axis along middle
785 paint->setPen(QPen(midColour, 0)); 785 paint->setPen(QPen(midColour, 0));
786 paint->drawLine(x0, my, x1, my); 786 paint->drawLine(QPointF(x0, my + 0.5), QPointF(x1, my + 0.5));
787 787
788 paintChannelScaleGuides(v, paint, rect, ch); 788 paintChannelScaleGuides(v, paint, rect, ch);
789 789
790 int rangeix = ch - minChannel; 790 int rangeix = ch - minChannel;
791 791