コード例 #1
0
 public static void ValidateParams(Atm320RendererParams timing)
 {
     //...
 }
コード例 #2
0
        /// <summary>
        /// Create default renderer params (ATM1 v4.50)
        /// </summary>
        public static Atm320RendererParams CreateParams()
        {
            // ATM1 v4.50
            // Total Size:          320 x 200
            var timing = new Atm320RendererParams();
            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) * 2;
            timing.c_ulaHeight = timing.c_ulaBorderTop + 200 + timing.c_ulaBorderBottom;
            return timing;
        }