Raster and vector scan principle