Click here to Skip to main content
15,897,291 members
Articles / Desktop Programming / MFC

QuickFill: An Efficient Flood Fill Algorithm

Rate me:
Please Sign up or sign in to vote.
4.84/5 (71 votes)
12 Mar 200413 min read 529.6K   12K   103  
Design and implementation of efficient flood fill algorithms.
REGEDIT
; This .REG file may be used by your SETUP program.
;   If a SETUP program is not available, the entries below will be
;   registered in your InitInstance automatically with a call to
;   CWinApp::RegisterShellFileTypes and COleObjectFactory::UpdateRegistryAll.

HKEY_CLASSES_ROOT\.bmp = QuickFillDemo.Document
HKEY_CLASSES_ROOT\QuickFillDemo.Document\shell\open\command = QUICKFILLDEMO.EXE %1
HKEY_CLASSES_ROOT\QuickFillDemo.Document\shell\open\ddeexec = [open("%1")]
HKEY_CLASSES_ROOT\QuickFillDemo.Document\shell\open\ddeexec\application = QUICKFILLDEMO
    ; note: the application is optional
    ;  (it defaults to the app name in "command")

HKEY_CLASSES_ROOT\QuickFillDemo.Document = Bitmap Document

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
Software Developer (Senior)
United States United States
I am a senior software engineer who has been designing and developing software for many years, mostly in C/C++. You might say that I think in code; which is why I am passionate about my first rule of coding: “First do no harm”. So if I get carried away in my explanations, please realize that it is just part of my personality. I enjoy learning new things and, when I have the time, passing that knowledge onto others.

Comments and Discussions