Use the fill color

Also keep track of the intersections, not the min/max x edges
Minor fixups

Use the int cast as the original algorithm, otherwise we have small
issues on mask samples that are not correct and we have line artifacts
Use the correct full mask value
Add support for the fill renderer