
Using Xor pen to get a certain color
Hey graphics experts,
I want to draw a RED (&HFF) line on a Picture Box (pic), using an Xor
pen.
I set the BackColor of the Picture Box to &HFFFFFF (WHITE)
I set the DrawMode to 7 (XOR_PEN)
I set pic.ForeColor to &HFFFF00 (WHITE Xor RED)
I draw a line, expecting it to come out &HFFFFFF Xor &HFFFF00, or &HFF,
but it doesn't look &HFF. It just isn't as bright as my other reds.
What am I doing wrong?
Am I wrong to assume that the Xor pen draws a color equivalent to
pic.BackColor Xor pic.ForeColor?
Thanks :)
--
Phil Nery
Dataform
WWW: http://www.*-*-*.com/
voice: 310-374-1378