[2918] in java-interest

home help back first fref pref prev next nref lref last post

RE : pb with setPaintMode()

daemon@ATHENA.MIT.EDU (Francois Boussard)
Fri Oct 20 14:29:05 1995

Date: Fri, 20 Oct 1995 17:09:04 GMT
From: Francois Boussard <francois@coplanet.fr>
To: java-interest@java.sun.com
Cc: francois@coplanet.fr

	Well, 
	
	I've found a solution to my pb :

	before seting back the paint mode, by setPaintMode(), you 
toggle the XOR mode with your background color :

	GC.setXORMode(background_color);
	GC.setPaintMode();
	GC.setColor(drawing_color);
	GC.drawline(...);

	And it works fine ...

	But, i continue to think that's a bug of setXORMode / setPaintMode !

	Bye.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post