Code

Final fix for gradient fill algorithm