[SDL] Draw line function?

Alan Wolfe Atrix2 at cox.net
Tue Feb 20 19:29:43 PST 2007


Drawing a simple line is pretty complicated actually!

-----Original Message-----
From: sdl-bounces at lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On
Behalf Of L-28C
Sent: Tuesday, February 20, 2007 7:12 PM
To: sdl at libsdl.org
Subject: Re: [SDL] Draw line function?

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.
> 

_______________________________________________
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



More information about the SDL mailing list