Simple math on scaling

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

This topic is closed to new replies.

Advertisement