nanogui: Problem with GC_MODE


Previous by date: 26 Sep 2007 15:38:23 +0100 color problem, Allen Yang
Next by date: 26 Sep 2007 15:38:23 +0100 Re: Problem with GC_MODE, Carlo Zinato
Previous in thread:
Next in thread: 26 Sep 2007 15:38:23 +0100 Re: Problem with GC_MODE, Carlo Zinato

Subject: Problem with GC_MODE
From: Carlo Zinato ####@####.####
Date: 26 Sep 2007 15:38:23 +0100
Message-Id: <46FA6ED8.6060609@viscount.it>

Hi all,

I'm using a  truecolor 565 color framebuffer drawing graphics 
exclusively in black and white, i.e. with GrSetGCBackground(gc, WHITE) 
and GrSetGCForeground(gc, BLACK). Everything works fine in GR_MODE_COPY 
and GR_MODE_COPYINVERTED (involving only src graphic), but when I use 
any other mode which combines src and dst nothing is drawn. For example 
if I draw in GR_MODE_XOR mode a black box somewhere over a bigger black 
box nothing happens. Am I missing something?

Thanks in advande,
Carlo

Previous by date: 26 Sep 2007 15:38:23 +0100 color problem, Allen Yang
Next by date: 26 Sep 2007 15:38:23 +0100 Re: Problem with GC_MODE, Carlo Zinato
Previous in thread:
Next in thread: 26 Sep 2007 15:38:23 +0100 Re: Problem with GC_MODE, Carlo Zinato


Powered by ezmlm-browse 0.20.