Example #1
0
        protected override void OnPaint(PaintEventArgs e)
        {
            var g = e.Graphics;

            var device = new NativeDrawDevice(g, this);

            g.Clear(Color.Black);


            e.Graphics.DrawString(debug, SystemFonts.DefaultFont, Brushes.Red, 15, 15);


            device.LoadIdentity();

            Rendering.Draw(device);
        }