SDL2 graphics drawing primitives and other support functions
