Example #1
0
        void drawIt()
        {
            Draw3D.p = -100;
            Graphics print3D = DisplayScreen.CreateGraphics();

            print3D.Clear(Color.White);
            print3D.DrawLine(new Pen(Brushes.Black), 0, 200, 800, 200);
            print3D.DrawLine(new Pen(Brushes.Black), 400, 0, 400, 400);
            print3D.DrawRectangle(new Pen(Brushes.Black), 0, 0, 799, 399);
            for (int i = 0; i < drawList.Count; i++)
            {
                drawList[i].printIt(ref print3D, new Pen(Brushes.Red), Brushes.Pink);
            }
            showNow();
        }