comparison layer/SpectrumLayer.cpp @ 1278:b6fc0970cd66 horizontal-scale

Tweaks to horizontal scale
author Chris Cannam
date Wed, 02 May 2018 14:25:44 +0100
parents 82258db96244
children 34394e8c2942
comparison
equal deleted inserted replaced
1277:82258db96244 1278:b6fc0970cd66
684 (v, this, paint, 684 (v, this, paint,
685 QRect(xorigin, h - scaleh - pkh - 1, w + xorigin, pkh)); 685 QRect(xorigin, h - scaleh - pkh - 1, w + xorigin, pkh));
686 686
687 LogNumericalScale().paintHorizontal 687 LogNumericalScale().paintHorizontal
688 (v, this, paint, 688 (v, this, paint,
689 QRect(int(getXForBin(v, 0)), h - scaleh, w + xorigin, scaleh)); 689 QRect(int(getXForBin(v, 1)), h - scaleh, w + xorigin, scaleh));
690 690
691 paint.restore(); 691 paint.restore();
692 } 692 }
693 693
694 void 694 void