Advertisement

Simple math on scaling

Started by July 11, 2012 11:14 PM
1 comment, last by Faelenor 12 years, 7 months ago
EDIT: I apologize, problem solved.
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.
Advertisement
Don't edit your post to remove the initial question!

This topic is closed to new replies.

Advertisement