Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
flood fill ?
#25
(05-01-2025, 07:20 PM)SMcNeill Wrote:
(05-01-2025, 05:59 PM)CMR Wrote:
(04-29-2025, 02:59 AM)SMcNeill Wrote: CLS ,color

No, I mean if you create a new blank image that you're going to draw on.  Is there an easy way to flood fill it with color using the tools we have?

Yes.  It's the CLS command.

Code: (Select All)
myImage = _NEWIMAGE(800, 600, 32)
CLS, _RGB32(255, 0, 0), myImage

That blank image is now filled with full red.   There's no simpler tool and no easier way to do this than to just use CLS.

Thanks, I didn't realize CLS had been upgraded.  I was still thinking it was the same from QB.  Tongue
Reply


Messages In This Thread
flood fill ? - by madscijr - 04-23-2025, 07:38 PM
RE: flood fill ? - by bplus - 04-23-2025, 11:06 PM
RE: flood fill ? - by madscijr - 04-24-2025, 12:08 AM
RE: flood fill ? - by bplus - 04-24-2025, 12:20 AM
RE: flood fill ? - by SMcNeill - 04-24-2025, 12:44 AM
RE: flood fill ? - by SMcNeill - 04-24-2025, 12:54 AM
RE: flood fill ? - by madscijr - 04-24-2025, 03:23 AM
RE: flood fill ? - by Petr - 04-24-2025, 01:28 PM
RE: flood fill ? - by madscijr - 04-24-2025, 11:50 PM
RE: flood fill ? - by SMcNeill - 04-25-2025, 12:58 AM
RE: flood fill ? - by SMcNeill - 04-25-2025, 01:52 AM
RE: flood fill ? - by madscijr - 04-25-2025, 05:51 AM
RE: flood fill ? - by madscijr - 04-25-2025, 02:27 AM
RE: flood fill ? - by SMcNeill - 04-25-2025, 11:36 AM
RE: flood fill ? - by madscijr - 04-25-2025, 01:11 PM
RE: flood fill ? - by madscijr - 04-25-2025, 06:49 PM
RE: flood fill ? - by madscijr - 04-25-2025, 07:36 PM
RE: flood fill ? - by TempodiBasic - 04-27-2025, 07:15 PM
RE: flood fill ? - by madscijr - 04-27-2025, 08:36 PM
RE: flood fill ? - by CMR - 04-29-2025, 02:56 AM
RE: flood fill ? - by SMcNeill - 04-29-2025, 02:59 AM
RE: flood fill ? - by CMR - 05-01-2025, 05:59 PM
RE: flood fill ? - by SMcNeill - 05-01-2025, 07:20 PM
RE: flood fill ? - by CMR - 05-03-2025, 02:28 AM
RE: flood fill ? - by Petr - 05-01-2025, 06:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Simple Brick Pattern Fill Question NakedApe 3 918 12-01-2023, 09:37 PM
Last Post: NakedApe

Forum Jump:


Users browsing this thread: 1 Guest(s)