[SOLVED] Using AspectMode and getting actual size
Posted: Wed Sep 04, 2013 15:41
I have a static image where I'm setting the size to {{1, 0}, {0.08, 0}} but the aspectmode is on shrink so it scales properly to be about a tenth of the screen size in height. I would like to get the newly calculated size in a scale rather than in a pixel offset during run time, but when I run getSize, I just get 1 for the width, not the new width calculated for the proper aspect mode (which should be something close to .08).
What is the best way to get this width value?
What is the best way to get this width value?