more accurate drawing by using double values for sweep x
a field for number of pixels beyond screen