[comp.sys.acorn] FILL on coloured shape

spocky@acsys.UUCP (04/23/91)

                    Hello!


I have a question to all of you!

Have you ever tried to fill a coloured shape?

Please type in:

               MODE 15
               GCOL 5
               FILL 200,200
               GCOL 7
               FILL 300,300

You see?

It seems to be impossible to fill a coloured shape!

But I know that it is possible to do so. I just don't know

how!

I hope one of you can help me!
      

Your  
      Volker Korrmann!                 

West Germany

Julian.Wright@comp.vuw.ac.nz (John Julian Wright) (04/23/91)

In article <qukT14w164w@acsys.UUCP>, spocky@acsys.UUCP writes:
|> I have a question to all of you!
|> Have you ever tried to fill a coloured shape?

|> It seems to be impossible to fill a coloured shape!
|> But I know that it is possible to do so. I just don't know
|> how!

Off the top of my head, you have two alternatives:
  1) Change the graphics bacground colour to be colour 5 (in
     your example - GCOL 133) and the FILL will work correctly.
  2) Use the other PLOT command, whichever one it is. One fills
     until a non-background colour is reached and the other fills
     until a certain foreground colour is reached (I think)

Disclaimer: I have not used these commands in a loooooooooong time...

    Cheers, Julian.
-- 
;`````````````````````````````````````````````````````````````````````````````;
; I would if I could but I can't so I won't but I might if I find I can later ;
;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,;
jwright@comp.vuw.ac.nz                                julian@sideways.gen.ac.nz