optimized antialised drawing with some consts/const refs