Add more parameters to scanline.cg