[futurebasic] Colours

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 1999 : Group Archive : Group : All Groups

From: "Phil Yates" <pyates@...>
Date: Fri, 23 Jul 1999 06:04:18 +0600
One for you colour experts ...

I want to use the toolbox to draw a filled circle, using the foreground colour.
Let's say that I've set the RGB to 65535,40000,40000.

The I want to draw another filled circle, perhaps with an RGB of
40000,40000,65535.

Now, if the two circles overlap, I want to AUTOMATICALLY :

1. Work out what the overlap is, and then

2. Fill in the overlap area with a blend of the two colours defined above.

Suggestions, anyone ?

Phil.

***************************************************************************
It is impossible to make anything foolproof, because fools are so ingenious
****************************************************************************