private static double GetComputedFontPercent(ClosedCaptionSize size)
 {
     switch (size)
     {
         case ClosedCaptionSize.FiftyPercent:
             return .5;
         case ClosedCaptionSize.OneHundredFiftyPercent:
             return 1.5;
         case ClosedCaptionSize.TwoHundredPercent:
             return 2;
         default:
             return 1;
     }
 }
Ejemplo n.º 2
0
        private static double GetComputedFontPercent(ClosedCaptionSize size)
        {
            switch (size)
            {
            case ClosedCaptionSize.FiftyPercent:
                return(.5);

            case ClosedCaptionSize.OneHundredFiftyPercent:
                return(1.5);

            case ClosedCaptionSize.TwoHundredPercent:
                return(2);

            default:
                return(1);
            }
        }