Код: Выделить всё
BitmapImage = new Bitmap(width,height);
Graphics graphics = Graphics.FromImage(BitmapImage);
SolidBrush solidBrush = new SolidBrush(Color.Purple);
GraphicsPath myGraphicsPath = new GraphicsPath();
myGraphicsPath.AddArc(100,50,50,50,0,-180);
myGraphicsPath.AddLine(new Point(100, 100), new Point(100, 200));
myGraphicsPath.AddLine(new Point(150, 200), new Point(150, 75));
myGraphicsPath.AddArc(100, 175, 50, 50, 0, 180);
graphics.FillPath(solidBrush, myGraphicsPath);
graphics.DrawPath(pen1, myGraphicsPath);
Вот что я хотел нарисовать

.
И что у меня получилось

.
Подробнее здесь: https://stackoverflow.com/questions/784 ... to-a-shape