[SDL] Draw line function?

L-28C leo28c at gmail.com
Tue Feb 20 19:12:05 PST 2007


I just want something that'll draw white pixels between 2 points... 
Nothing fancy. :-P

Speed shouldn't be an issue here.  Thanks! ;-)

Kein-Hong Man wrote:
> L-28C wrote:
>> Hello everyone! :-D
>> Hey, what's an easy function to draw a line from one point to another in 
>> a surface? I'm on Lua so I can't use additional SDL libraries like 
>> SDL_draw. :-(
> 
> Depends on what kind of speed, quality and features you are 
> looking for... you might want to look around libsdl.org.
> 



More information about the SDL mailing list