C# Drawing images -=NEED HELP=-

Posts 1–3 of 3 · Page 1 of 1
C# Drawing images -=NEED HELP=-
using System;
How can i draw a line in C#, i searched in google, but i didnt find any useable code...
Im just now learning this prog lang, than pls dont spam than im a noob...
i need the mot simple code, what is working
g.DrawLine(myPen, 1, 1, 45, 65);
g.DrawBezier(myPen, 15, 15, 30, 30, 45, 30, 87, 20);
g.DrawEllipse(myPen, new Rectangle(33, 45, 40, 50));
g.DrawPolygon(myPen, new PointF[] {new PointF(1, 1),
new PointF (20, 10), new PointF(5, 4), new PointF(100, 2),
new PointF(200, 50), new PointF(39, 45)});
THX man...
2 question:
-Now i didnt learned the graphics, than can you write the declaration of "g"?
-And wich namespaces will i need for it?
If i use only System.Drawing it show me, that it is not enought...
@JusCaus
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us