WmfTernaryRasterOperationOperand enumeration

Each ternary raster operation code represents a Boolean operation in which the values of the pixels in the source, the selected brush, and the destination are combined. Following are the three operands used in these operations.

public enum WmfTernaryRasterOperationOperand


Name Value Description
D 0 Destination bitmap
P 1 Selected brush (also called pattern)
S 2 Source bitmap
a 3 Bitwise AND
n 4 Bitwise NOT (inverse)
o 5 Bitwise OR
x 6 Bitwise exclusive OR (XOR)

See Also