The following tutorial was created by Blue Dino Code, for the purpose of helping people like you learn SDL. This tutorial, though not purposely a part of the SDLTutorials.com or created for the series, may be a branch or addition to the series. Please read notes by the author for any additional code and/or framework used by the author. SDLTutorials.com does not endorse or reject any of the coding practices outlined in the tutorial, and is not responsible for any code or files belonging to this tutorial that harms your computer.
Prerequisites:
Some knowledge of SDL (see Installing SDL)
The SDL Primitive Generator, SPriG, is a quick and simple interface to making graphics on SDL surfaces. In this guide, I’ll be discussing the notable features of Sprig with usage examples. Not all of the functions are described here. There are plenty more to be found in the documentation once you get the hang of the stuff found here. I will, however, be describing the entire dirty rect interface.