If I have a an enclosed shape on the screen drawn say, by lots of line commands, is there an easy way to fill the shape with a colour?
How do I fill a shape with colour?
BlitzPlus Forums/BlitzPlus Beginners Area/How do I fill a shape with colour?The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.
There are 3 different flood fill functions in the code archieves:
http://www.blitzbasic.com/codearcs/codearcs.php?code=50
http://www.blitzbasic.com/codearcs/codearcs.php?code=263
http://www.blitzbasic.com/codearcs/codearcs.php?code=314
http://www.blitzbasic.com/codearcs/codearcs.php?code=50
http://www.blitzbasic.com/codearcs/codearcs.php?code=263
http://www.blitzbasic.com/codearcs/codearcs.php?code=314