I'm trying to do basic GDI animations with bitmaps. What I want to do is make a bitmap move towards a point.
I want the bitmap move in small steps towards this point.
So what I really want to know is how I can get a Point array of all the small steps to this position so I can redraw anything on each position.
I think if I where to make this a function it would have this look. I can't figure out how to make the logic.
Point GetLineSteps(Point startxy, Point stopxy)
Appreciate your help.
0 · ·