1. About BLACK colour
- Posted by Caballero Rojo <ebonvehi at CPSARG.COM>
Apr 08, 1999
-
Last edited Apr 09, 1999
Hi all,
I=B4m writting because I have a colours trouble. I have to use the
BLACK colour in a graphic mode screen, I think you have to rewrite the
colours routine, and made a BLACK color and a TRANSPARENT colour by diferent
constants.
Thanks,
Red Knight
2. About BLACK colour
- Posted by Caballero Rojo <ebonvehi at CPSARG.COM>
Apr 10, 1999
-
Last edited Apr 11, 1999
Hi all,
I=B4m writting because I have a colours trouble. I have to use the
BLACK colour in a graphic mode screen, I think you have to rewrite the
colours routine, and made a BLACK color and a TRANSPARENT colour by diferent
constants.
Thanks,
Red Knight
PS: If somebody answers this time, i would apreciate it.
3. Re: About BLACK colour
- Posted by David Cuny <dcuny at LANSET.COM>
Apr 10, 1999
-
Last edited Apr 11, 1999
"Red Knight" wrote:
> I4m writting because I have a colours trouble. I have to use the
> BLACK colour in a graphic mode screen, I think you have to rewrite
> the colours routine, and made a BLACK color and a TRANSPARENT
> colour by diferent constants.
This gave me a lot of grief a while back. Apparently, it's a problem with
how the PC does colors, not with Euphoria.
The solution is simple - use polygon() to clear the screen to the color that
you want. So if you want to clear the screen to a background color of WHITE,
draw a filled white polygon the size of the screen. It's the solution that I
use.
-- David Cuny
4. Re: About BLACK colour
There is also another method which I used, where you save a piece of the
background the same size of the image to display, display the image, and then
fill in the black area around the image with pixels from the saved image. You
can create a data sequence with the relative points around the picture and
use a repeating algorhythm to fill in the black area with saved pixel data.