sdl2
) and SDL_image 2.0 (as sdl2::image
).The main entry point of this project, sdl2
, exposes some features of the base
library: video, events, syswm, etc. The alternative entry point image
offers
mainly SDLSurface::load
to load images from PNG, JPG or TIF files.
You can also import all
to get sdl2
and all its sister libraries, which is only
image
at this point.
See the minimal
example within this project at examples/minimal
for a simple example
of how to use this project.