Edited by Muzzy A, 11 July 2012 - 05:20 PM.
Simple math on scaling
2 replies to this topic
Moderators - Reputation: 9886
Posted 11 July 2012 - 05:18 PM
The size of the bar, or the difference between min and max, is diff=max-min. The point you're after is diff*ratio away from the start point towards the end point. That is, the bar is at min+diff*ratio.
Edited by Brother Bob, 11 July 2012 - 05:19 PM.