1. Re: Win32Lib: Flood Fill Demo
- Posted by Brian Broker <bkb at CNW.COM> Oct 01, 2000
- 396 views
- Last edited Oct 02, 2000
On Sun, 1 Oct 2000 19:01:01 -0700, I wrote: >The only thing I can't figure out about it is that it leaves a >dithered remnant of the original color. > >If anybody can figure out why, I'd love to hear about it. I'll save you the trouble on this one. It turns out that windows does some dithering when you have your system set to 16-bit color. I had to crank it up to 32-bit to get my demo working properly. But this brings up an interesting issue: the Win32Lib constant definitions for Red, Green, and Blue are off by one and should use a value of 128 instead of 127... (and other color constants should be tweaked accordingly). -- Brian