예제 #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;
		}
예제 #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);
        }