예제 #1
0
        public void Execute(string parameter)
        {
            var canvas = new VBEScreen(new Mode(320, 240, ColorDepth.ColorDepth32));

            canvas.Clear(Color.Blue);
            var color = Color.Green;

            canvas.DrawCircle(new Pen(color), 160, 160, 70);
            canvas.DrawImage(Images.TV, 190, 190);
            canvas.DrawFilledRectangle(new Pen(Color.DarkBlue), 0, 30, canvas.Mode.Columns, 30);
        }
예제 #2
0
        public static void Init()
        {
            vbs.SetMode(VBEScreen.ScreenSize.Size1024x768, VBEScreen.Bpp.Bpp32);

            vbs.Clear(0xFF9FFCA0);
            for (int i = 0; i < (1024 * 768); i++)
            {
                vA[i] = 0xff;
                vR[i] = 0x9f;
                vG[i] = 0xfc;
                vB[i] = 0xa0;
            }
        }