sync raster rendering between cairo and agg after #1748
formatting
flag to overwrite expected visual test output
update expected cairo rasters