06-27-2023, 08:00 AM
I have the few lines of code below, which draw a shape on the screen.
How do I implement a "Paint" (or P in a draw-string) to paint the inside of the shape, say red (_RGB(255,0,0) ?
How do I implement a "Paint" (or P in a draw-string) to paint the inside of the shape, say red (_RGB(255,0,0) ?
Code: (Select All)
Screen _NewImage(1200, 820, 32)
Dim colr As _Unsigned Long: colr = _RGB(255, 0, 0)
colr = _RGB(0, 255, 255)
PSet (500, 300): Draw "C" + Str$(colr) + "R100F100D100G100L100H100U100E100"
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.) ![Big Grin Big Grin](https://qb64phoenix.com/forum/images/smilies/biggrin.png)
Please visit my Website at: http://oldendayskids.blogspot.com/
![Big Grin Big Grin](https://qb64phoenix.com/forum/images/smilies/biggrin.png)
Please visit my Website at: http://oldendayskids.blogspot.com/