1. About BLACK colour

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

new topic     » topic index » view message » categorize

2. About BLACK colour

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.

new topic     » goto parent     » topic index » view message » categorize

3. Re: About BLACK colour

"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

new topic     » goto parent     » topic index » view message » categorize

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu