]> git.imager.perl.org - imager.git/commit - draw.c
implement a flood_fill that stops at a given color rather than filling
authorTony Cook <tony@develop=help.com>
Tue, 27 Jun 2006 12:20:47 +0000 (12:20 +0000)
committerTony Cook <tony@develop=help.com>
Tue, 27 Jun 2006 12:20:47 +0000 (12:20 +0000)
commit3efb091527aada9f4343733cc023664ac25f97e0
tree48f7b468c6b4f7b000063e6c4d80453be781778d
parenta7811258afa7e4be9cee8e64b717e84bea0c0023
implement a flood_fill that stops at a given color rather than filling
a region of the color at the start poiint.

from perl you can call flood_fill() with a border parameter to specify
a fill to border.

from the API call the i_flood_fill_border() or i_flood_cfill_border()
function.
12 files changed:
Imager.pm
Imager.xs
draw.c
fills.c
imager.h
imext.c
imext.h
imexttypes.h
lib/Imager/APIRef.pod
lib/Imager/Draw.pod
t/t20fill.t
t/t82inline.t