(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.
