Mercurial > hg > svgui
comparison view/ViewManager.cpp @ 1052:834e94eb1bca 3.0-integration
Merge from branch "alignment-simple"
author | Chris Cannam |
---|---|
date | Thu, 21 Apr 2016 15:06:05 +0100 |
parents | f2c63ec85901 |
children | e0ac21f07ab0 |
comparison
equal
deleted
inserted
replaced
1050:3691af49291c | 1052:834e94eb1bca |
---|---|
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 |