classpath
[Top][All Lists]
Advanced

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

Re: request for comment on java2d stuff


From: Sascha Brawer
Subject: Re: request for comment on java2d stuff
Date: Thu, 18 Sep 2003 18:23:37 +0200

graydon hoare <address@hidden> wrote on Tue, 2 Sep 2003 20:25:19 -0400:

>http://gcc.gnu.org/ml/java-patches/2003-q3/msg00493.html

Yet another comment: With a little test program, I've noticed that Sun's
J2SE 1.4.1_01 (GNU/Linux, x86) sets the composite to
AlphaComposite.SrcOver when setPaintMode() is called, at least with the
Graphics2D implementation that is passed to JComponent.paint().

   public void setPaintMode () 
   { 
-    setComposite (java.awt.AlphaComposite.Xor); 
+    setComposite(java.awt.AlphaComposite.SrcOver); 
   }


Sorry for the mail flood. This will be the last message for a while.

-- Sascha

Sascha Brawer, address@hidden, http://www.dandelis.ch/people/brawer/ 






reply via email to

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