(untested) use the proper scanline alignment