implement most of the screen geometry transforms needed for vision