Bitmap bit = new Bitmap(this.Width, this.Height); Graphics g = Graphics.FromImage(bit); Graphics form = this.CreateGraphics(); pntPoints[0] = this.pictureBox1.Location; pntPoints[1] = new Point(100,300); pntPoints[2] = new Point(200, 150); g.DrawCurve(p, pntPoints); form.DrawImage(bit, 0, 0); bit.Dispose(); g.Dispose();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)