Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XOR Color
Message
 
 
To
05/05/2010 11:47:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01463241
Message ID:
01463249
Views:
86
This message has been marked as the solution to the initial question of the thread.
http://www.berezniker.com/content/pages/visual-foxpro/convert-color-rgb

>OK cool - and what was that formula to convert the BITXOR() output back to RGB?
>
>>I would think
>>
>>newForeColor  = BITXOR(BackgroundColor, DesiredColor)
>>
>>>
>>>What ForeColor should I use to get a red line on a white background when drawing using XOR?
>>>
>>>How do you calculate a desired color knowing the background color when using XOR?
>>>
>>>TIA
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform