예제 #1
0
        /// <summary>
        /// Create default renderer params (ATM1 v4.50)
        /// </summary>
        public static AtmTxtRendererParams CreateParams()
        {
            // ATM1 v4.50
            // Total Size:          640 x 200 (TXT: 80 x 25)
            var timing = new AtmTxtRendererParams();

            timing.c_frameTactCount    = 69888;
            timing.c_ulaLineTime       = 224;
            timing.c_ulaFirstPaperLine = 56;
            timing.c_ulaFirstPaperTact = 32;

            timing.c_ulaBorderTop    = 28;
            timing.c_ulaBorderBottom = 28;
            timing.c_ulaBorderLeftT  = 0;
            timing.c_ulaBorderRightT = 0;

            timing.c_ulaIntLength = 32;

            timing.c_ulaWidth  = (timing.c_ulaBorderLeftT + 160 + timing.c_ulaBorderRightT) * 4;
            timing.c_ulaHeight = timing.c_ulaBorderTop + 200 + timing.c_ulaBorderBottom;
            return(timing);
        }
예제 #2
0
 public static void ValidateParams(AtmTxtRendererParams timing)
 {
     //...
 }
예제 #3
0
 public static void ValidateParams(AtmTxtRendererParams timing)
 {
     //...
 }
예제 #4
0
        /// <summary>
        /// Create default renderer params (ATM1 v4.50)
        /// </summary>
        public static AtmTxtRendererParams CreateParams()
        {
            // ATM1 v4.50
            // Total Size:          640 x 200 (TXT: 80 x 25)
            var timing = new AtmTxtRendererParams();
            timing.c_frameTactCount = 69888;
            timing.c_ulaLineTime = 224;
            timing.c_ulaFirstPaperLine = 56;
            timing.c_ulaFirstPaperTact = 32;

            timing.c_ulaBorderTop = 0;
            timing.c_ulaBorderBottom = 0;
            timing.c_ulaBorderLeftT = 0;
            timing.c_ulaBorderRightT = 0;

            timing.c_ulaIntBegin = 0;
            timing.c_ulaIntLength = 32;

            timing.c_ulaWidth = (timing.c_ulaBorderLeftT + 160 + timing.c_ulaBorderRightT) * 4;
            timing.c_ulaHeight = timing.c_ulaBorderTop + 200 + timing.c_ulaBorderBottom;
            return timing;
        }