Click to See Complete Forum and Search --> : Draw XOR Lines


darwen
December 19th, 2004, 03:46 PM
Here's one I've never been able to work out.

How do you draw an XOR-ed line using the Graphics object ?

Thanks as always.

Darwen.

Krzemo
December 19th, 2004, 09:58 PM
As I know,there is no XOR drawing in GDI+:thumbd:

Maybe U can draw a line in pixel by pixel basis (and XOR it manually).

Best regards,
Krzemo.

Norfy
December 20th, 2004, 02:39 AM
Here's one that was prepared earlier: XOR Line Drawing (http://www.codeguru.com/forum/showthread.php?t=279221)

darwen
December 20th, 2004, 04:54 AM
Thanks for that Norfy : I was trying to do this without resorting to interop but it looks like I'm left with no choice.

Darwen.