Beispiel #1
0
		public float getMultiplier( ResolutionEntryVO originalResolution )
		{
			float mul;
			if( baseResolution == 0 )
			{
				mul = (float)originalResolution.width / width;
			}
			else
			{
				mul = (float)originalResolution.height / height;
			}
			return mul;
		}
Beispiel #2
0
        public float getMultiplier(ResolutionEntryVO originalResolution)
        {
            float mul;

            if (baseResolution == 0)
            {
                mul = (float)originalResolution.width / width;
            }
            else
            {
                mul = (float)originalResolution.height / height;
            }
            return(mul);
        }