daily pastebin goal
34%
SHARE
TWEET

Обычный конус

a guest May 17th, 2018 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             Bitmap bmp = new Bitmap(pictureBox1.Width, pictureBox1.Height);
  2.             Graphics grpah = Graphics.FromImage(bmp);
  3.             Pen pen = new Pen(Color.Blue);
  4.             grpah.DrawLine(pen, 20, 200, 100, 20);
  5.             grpah.DrawLine(pen, 100, 20, 200, 200);
  6.             grpah.DrawCurve(pen, new Point[] {new Point(20, 200),
  7.                 new Point(110, 230), new Point(200, 200)}, 0.6f);
  8.             Brush dotted = new SolidBrush(Color.Gray);
  9.             grpah.DrawCurve(new Pen(dotted, 1.0f), new Point[] {new Point(20, 200),
  10.                 new Point(110, 170), new Point(200, 200)}, 0.6f);
  11.             pictureBox1.Image = bmp;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top