WmfBinaryRasterOperation Enumeration

The BinaryRasterOperation Enumeration section lists the binary raster-operation codes. Raster operation codes
define how metafile processing combines the bits from the selected pen with the
bits in the destination bitmap.

Module: aspose.imaging.fileformats.wmf.consts

Full Name: aspose.imaging.fileformats.wmf.consts.WmfBinaryRasterOperation

Aspose.Imaging Version: 24.7.0

Members

Member nameDescription
BLACK0, Pixel is always 0.
COPYPENP, Pixel is the pen color.
MASKNOTPENDPna, Pixel is a combination of the screen color and the inverse of the pen color.
MASKPENDPa, Pixel is a combination of the colors common to both the pen and the screen.
MASKPENNOTPDna, Pixel is a combination of the colors common to both the pen and the
inverse of the screen.
MERGENOTPENDPno, Pixel is a combination of the colors common to both the screen and
the inverse of the pen.
MERGEPENDPo, Pixel is a combination of the pen color and the screen color.
MERGEPENNOTPDno, Pixel is a combination of the pen color and the inverse of the
screen color.
NOPD, Pixel remains unchanged.
NOTDn, Pixel is the inverse of the screen color.
NOTCOPYPENPn, Pixel is the inverse of the pen color.
NOTMASKPENDPan, Pixel is the inverse of the MASKPEN color.
NOTMERGEPENDPon, Pixel is the inverse of the MERGEPEN color
NOTXORPENDPxn, Pixel is the inverse of the XORPEN color.
WHITE1, Pixel is always 1
XORPENDPx, Pixel is a combination of the colors in the pen or in the screen, but not in both.