primitives drawing/other support functions for SDL
