Work using scanlines