Error getting tags :
error 404Error getting tags :
error 404 srcXOr | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
srcXOr
Basics
Expander triangle
Type
Keyword
Syntax
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
Windows,Linux
Security
None required
Summary
Specifies one of the transfer modes that can be used with the ink property.
Examples

set the ink of field "Meld" of group 1 to srcXOr

Additional Comments
Expander triangle

Use the srcXOr keyword to combine an object's colors with the color underneath the object.

Comments:

The ink property determines how an object's colors combine with the colors of the pixels underneath the object to determine how the object's color is displayed.

When the srcXOr transfer mode is used, Revolution performs a bitXOr operation on each component of the object color with the corresponding component of the color under the object.

Each component of the resulting color is equal to the result of this expression:

object component bitXOr background component

For example, suppose an object's color is 45,0,255, and the color of the pixels under the object is 20,45,100. If the srcXOr transfer mode is used, the object's displayed color is 57,45,210 (the decimal equivalent).

The srcXOr mode can be used only on Unix and Windows systems. On Mac OS systems, objects whose ink property is set to this mode appear as though their ink were set to reverse.

User Comments
Expander triangle