PDA

View Full Version : Drawing an bitmap with XOR



devdept
07-12-2010, 05:51 AM
Hi All,

We are trying to draw a semitransparent bitmap using XOR logical op on the background drawn previously.

Of course the following approach applies only to lines, etc.

gl.Enable(gl.COLOR_LOGIC_OP);
gl.LogicOp(gl.XOR);
Is there any way to do this? The bitmap contains a black text that on dark background doesn't stand out enough.

Can gl.PixelTransfer() help in this situation?

Thanks,

Alberto