Fog Creek Software
Discussion Board




Graphics

Hi,
  I must draw two axel, like we learn in school. I can i do that in C#; must draw the lines and the points one by one??
  Thanks and regards

    Mário Wilson

Mário Wilson Moreira
Tuesday, March 30, 2004

Yes.

Rick
Tuesday, March 30, 2004

I disagree.

name withheld out of cowardice
Tuesday, March 30, 2004

Maybe

What???
Tuesday, March 30, 2004

No.

Ron
Tuesday, March 30, 2004

Although I may be wrong, I think this is done via careful application of magic.

MR
Tuesday, March 30, 2004

If you dont refer to it as GNU/Magic I refuse to participate in this discussion.


Tuesday, March 30, 2004

Well, 0.0345 seconds with Google turns up

Graphics g = wnd.CreateGraphics();
Point p0 = new Point(x0, y0);
Point p1 = new Point(x1, y1);
g.DrawLine(pen, p0, p1);


Is that what you want?

Snotmonster
Tuesday, March 30, 2004

"If you dont refer to it as GNU/Magic I refuse to participate in this discussion."

Quote of the day!!!

Guffaw!!
Tuesday, March 30, 2004

*  Recent Topics

*  Fog Creek Home