Skip to main content
User login
OpenID
What is OpenID?
Username or e-mail
*
Password
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Register
Home
Browse
2D Art
3D Art
Concept Art
Textures
Music
Sound Effects
Documents
Featured Tutorials
Submit Art
Collect
My Collections
Art Collections
Forums
FAQ
Leaderboards
All Time
Total Points
Comments
Favorites (All)
Favorites (2D)
Favorites (3D)
Favorites (Concept Art)
Favorites (Music)
Favorites (Sound)
Favorites (Textures)
Weekly
Total Points
Comments
Favorites (All)
Favorites (2D)
Favorites (3D)
Favorites (Concept Art)
Favorites (Music)
Favorites (Sound)
Favorites (Textures)
❤ Donate
Search Terms
Programming
SDL Drawing
jaderamiso
Friday, November 12, 2010 - 06: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.