Hi there,

Am Dienstag, den 27.12.2005, 17:57 -0700 schrieb Tom Tromey:
> >>>>> ">" == theUser BL <[EMAIL PROTECTED]> writes:
> 
> >> In the AWT-Demo under "Random Tests" the Text "Hi Red!" is with JamVM
> >> and GNU Classpath red. But with Suns Java 1.4, 1.5 and 1.6 under
> >> Windows and Linux it is cyan!
> 
> I see this too.  The demo sets XOR mode, which is somewhat odd.

The XOR mode is documented as follows:

<<Pixels that are of colors other than those two colors are changed in
an unpredictable but reversible manner; if the same figure is drawn
twice, then all pixels are restored to their original values.>>

This means to me, that the 'color bug' might actually not be a bug. As
long as drawing something twice reverses the effect, this should be ok.
AFAICS the XOR mode is primarily used for highlighting stuff (like
selecting a part of an image in a graphics application), the important
thing is that drawing something twice reverses the first drawing
operation. The actual color doesn't matter much.

/Roman

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to