Ejemplo n.º 1
0
        static void Bezier()
        {
            CDrawer can = new CDrawer(800, 600, false);

            for (int ix = 0; ix < 800; ix += 50)
            {
                can.AddBezier(0, 600, ix, 0, 800 - ix, 600, 800, 0, Color.Red, 2);
                can.AddBezier(0, 0, ix, 0, 800 - ix, 600, 800, 600, Color.Red, 2);
            }

            can.Render();
            Console.ReadKey();
        }