comparison view/ViewManager.cpp @ 1148:c0d841cb8ab9 tony-2.0-integration

Merge latest SV 3.0 branch code
author Chris Cannam
date Fri, 19 Aug 2016 15:58:57 +0100
parents f2c63ec85901
children e0ac21f07ab0
comparison
equal deleted inserted replaced
1009:96cf499fad62 1148:c0d841cb8ab9
739 int scaled = int(pixels * ratio + 0.5); 739 int scaled = int(pixels * ratio + 0.5);
740 // cerr << "scaledSize: " << pixels << " -> " << scaled << " at ratio " << ratio << endl; 740 // cerr << "scaledSize: " << pixels << " -> " << scaled << " at ratio " << ratio << endl;
741 if (pixels != 0 && scaled == 0) scaled = 1; 741 if (pixels != 0 && scaled == 0) scaled = 1;
742 return scaled; 742 return scaled;
743 } 743 }
744