Beispiel #1
0
        public void EndUpdate()
        {
            var bmp = GetBackground(AnimatedControl, true, true);

#if debug
            bmp.Save("c:\\bmp.png");
#endif
            if (animation.AnimateOnlyDifferences)
            {
                TransfromHelper.CalcDifference(bmp, BgBmp);
            }

            ctrlBmp = bmp;
            mode    = AnimateMode.Update;
#if debug
            ctrlBmp.Save("c:\\ctrlBmp.png");
#endif
        }