HEEEEELP!!!!
-
Greetings!!! I was thinking, isn't it possible to change the coordinate system of the form, like in vb, so that (0,0) is in the bottom left corner???
-
Greetings!!! I was thinking, isn't it possible to change the coordinate system of the form, like in vb, so that (0,0) is in the bottom left corner???
Sounds like your making a graph. Well, whatever it is, you could easily write a translation function. I don't know what the properties and function names are, but the following pseudo-code should give you the idea Point TranslatePoint(Point p) { Point q; q.x = p.x; q.y = Window.Height - p.y; return q; }
-
Greetings!!! I was thinking, isn't it possible to change the coordinate system of the form, like in vb, so that (0,0) is in the bottom left corner???
Look at Graphics.Transform property. This will help you specify a tranformation matrix that you can use. I have never wasted time worrying about such insignificant things. Keep your eye upon the donut and NOT upon the hole. - Bill Sergio about posting in the right forum. The Lounge - June 23, 2002
-
Look at Graphics.Transform property. This will help you specify a tranformation matrix that you can use. I have never wasted time worrying about such insignificant things. Keep your eye upon the donut and NOT upon the hole. - Bill Sergio about posting in the right forum. The Lounge - June 23, 2002
Well what i'm gonna use it for is just to play around with some basic game physics (very basic). I'm quite new at C# so I din't know if there was a funktion that could alter the coordinate system of the form, like in vb... I just figuered that it would be the easist approch..... Well thanks again....