[comp.graphics] Region and Polygon filling

sjr87@ecs.southampton.ac.uk (Simon Roberts) (04/08/91)

I'm in need of  a region fill routine which fills in an arbitary colour
up to an arbitary coloured boundary. 

I have found plenty of routines which do this by recursion, but I'd
much rather use one which does it iteratively, using a stack of
some sort or other.

If anyone can supply me with a pseudo code algorithm/'C' listing/Assembler
listing of such a routine, I would be forever grateful!!

Regards,
	Simon Roberts

####################################################################
#                       -- Simon Roberts --                        #
####################################################################
#                    JANET : sjr87@uk.ac.soton.ecs                 #
#      INTERNET : sjr87@ecs.soton.ac.uk (+ nsfnet-relay.ac.uk)     #
####################################################################