View Single Post
  #4 (permalink)  
Old July 6th, 2005, 06:52 PM
rharris rharris is offline
Registered User
Join Date: Jun 2005
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts

The region is general, defined by any number of curves. An example region could be defined as the space between the curves:


The user defines region as above, then clicks inside region. The recursive algorithm colors pixel-by-pixel, until entire closed region has been colored. The algorithm works great, just need to know how to allocate increased stack space so stack will not overflow during runtime. I believe this can be done in complile step, but I cannot find detailed examples of this on web.


Reply With Quote