[SDL] Draw line function?

Jukka-Pekka Manninen jmanninen at digitalchocolate.com
Tue Feb 20 23:17:44 PST 2007


> There isn't a line drawing function in SDL...you'd have to touch the 
> pixels directly...I'm not sure if that's possible from Lua.

If speed isn't an issue, you can SDL_FillRect with width and height of
one.

-- 
Jukka-Pekka Manninen
 


More information about the SDL mailing list