fill: use the GIMP's matching algorithm flood-fill
authorAndrew Chadwick <andrewc-git@piffle.org>
Mon, 30 Sep 2013 18:15:35 +0000 (19:15 +0100)
committerAndrew Chadwick <andrewc-git@piffle.org>
Mon, 30 Sep 2013 18:15:35 +0000 (19:15 +0100)
commit73a93d6522cad6090d81ea24582b0a5c44a97e45
tree23dff3cec80db18bd031066835948444f69c12b2
parentbe073bae996f3284b99c7ba6b91f933b1912d638
fill: use the GIMP's matching algorithm

Use the GIMP's colour matching algorithm during fill: it gives better
results and allows fills to butt up against anti-aliased lines more
convincingly with larger thresholds.
lib/fill.hpp