[SDL] Draw Line Function

Sebastien Dieu dieu.j.sebastien at gmail.com
Wed Feb 21 02:14:57 PST 2007


Hi,

You should have a look to the Bresenham algorithm which is the fastest
(and not so hard to implement) for drawing line.
You can have a look on this web page:
http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm

I Hope it will help you...
Sebastien Dieu


More information about the SDL mailing list