Enum WmfTernaryRasterOperationOperand
Enum WmfTernaryRasterOperationOperand
Namespace: Aspose.Imaging.FileFormats.Wmf.Consts
Assembly: Aspose.Imaging.dll (25.7.0)
Each ternary raster operation code represents a Boolean operation in which the values of the pixelsin the source, the selected brush, and the destination are combined. Following are the threeoperands used in these operations.
public enum WmfTernaryRasterOperationOperand
{
srcAndDestinationColorAreEqual = 0x00,
srcColorIsDestBackgroundColor = 0x01,
srcIsForegroundColor = 0x02,
destIsForegroundColor = 0x03,
doNotChangeDestinationColor = 0x04,
backgroundIsForegroundColor = 0x05,
noOperation = 0xFF,
}
Fields
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)