classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color-Bug in Classpath 0.19


From: Roman Kennke
Subject: Re: Color-Bug in Classpath 0.19
Date: Mon, 02 Jan 2006 11:49:25 +0100

Hi there,

Am Dienstag, den 27.12.2005, 17:57 -0700 schrieb Tom Tromey:
> >>>>> ">" == theUser BL <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]