Skip to main content
$12256 / $11500
About
Rules
Blog
FAQ
Style
Forum
SDL Drawing
Programming
SDL Drawing
jaderamiso
Friday, November 12, 2010 - 09:29
quick question, how do you draw primitive shapes on SDL?
SDL doesn't come with functions to draw primitives out of the box... not even drawing a single pixel!
But people have built primitives-drawing addons for SDL. Example, SDL_Draw http://sdl-draw.sourceforge.net/
There is also SDL_gfx, which seems to still be actively developed.
oh. ive tried SDL_draw, its very easy to use.
Ill take a look on SDL_gfx.