Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Filling drawings
#1
There's no function or command "fill", allowing to pass two coordinates and making the computer to fill all delimited pixels with the current color.


Code:
circle 50, 50, 30
fill 50, 50

In the eighties, I used to fill a circle with a for loop:


Code:
circle 50, 50, 30
for i = 1 to 30
    circle 50, 50, i
next i
I suppose I could do something like this for rectangles, as well. This is, however, slow, ugly (certain pixels remain unplotted), and clumsy. Is there an alternate way?
Thanks,
-- Baltasar
Reply


Messages In This Thread
Filling drawings - by baltasarq - 02-07-2025, 12:16 PM
RE: Filling drawings - by boriel - 02-08-2025, 06:45 PM
RE: Filling drawings - by baltasarq - 02-08-2025, 07:55 PM
RE: Filling drawings - by boriel - 02-09-2025, 04:36 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)