I am wondering if anyone has a better idea for how to draw little pictures with code? Currently I draw it with code and keep checking on it until I get it right, it takes alot of guess work to begin with, and takes a while to complete. Any ideas?
Oh, and to show i'm not just after someone else to do it for me, here is my smiley face code (Which draws a smiley face on the mouse up event).
b = Brushes.Yellow; Rectangle rect = new Rectangle(e.X - 17, e.Y - 15, 25, 20); g.FillEllipse(b, (e.X - 20), (e.Y - 20), 30, 30); b = Brushes.Black; g.FillEllipse(b, e.X - 13, e.Y - 13, 5, 10); g.FillEllipse(b, e.X, e.Y - 13, 5, 10); g.DrawArc(p, rect, 20, 145);
This post has been edited by mikeymike: 03 December 2009 - 09:16 PM