public final class WmfBinaryRasterOperation
extends com.aspose.ms.System.Enum
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.
Each raster-operation code represents a Boolean operation in which the values of the pixels in the selected pen and the destination bitmap are combined. Following are the two operands used in these operations. Operand Meaning P Selected pen D Destination bitmap a Bitwise AND n Bitwise NOT (inverse) o Bitwise OR x Bitwise exclusive OR (XOR)
Modifier and Type | Field and Description |
---|---|
static int |
R2_BLACK
0, Pixel is always 0.
|
static int |
R2_COPYPEN
P, Pixel is the pen color.
|
static int |
R2_MASKNOTPEN
DPna, Pixel is a combination of the screen color and the inverse of the pen color.
|
static int |
R2_MASKPEN
DPa, Pixel is a combination of the colors common to both the pen and the screen.
|
static int |
R2_MASKPENNOT
PDna, Pixel is a combination of the colors common to both the pen and the
inverse of the screen.
|
static int |
R2_MERGENOTPEN
DPno, Pixel is a combination of the colors common to both the screen and
the inverse of the pen.
|
static int |
R2_MERGEPEN
DPo, Pixel is a combination of the pen color and the screen color.
|
static int |
R2_MERGEPENNOT
PDno, Pixel is a combination of the pen color and the inverse of the
screen color.
|
static int |
R2_NOP
D, Pixel remains unchanged.
|
static int |
R2_NOT
Dn, Pixel is the inverse of the screen color.
|
static int |
R2_NOTCOPYPEN
Pn, Pixel is the inverse of the pen color.
|
static int |
R2_NOTMASKPEN
DPan, Pixel is the inverse of the R2_MASKPEN color.
|
static int |
R2_NOTMERGEPEN
DPon, Pixel is the inverse of the R2_MERGEPEN color
|
static int |
R2_NOTXORPEN
DPxn, Pixel is the inverse of the R2_XORPEN color.
|
static int |
R2_WHITE
1, Pixel is always 1
|
static int |
R2_XORPEN
DPx, Pixel is a combination of the colors in the pen or in the screen, but not in both.
|
Clone, CloneTo, format, format, get_Caption, get_Value, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject
public static final int R2_BLACK
0, Pixel is always 0.
public static final int R2_NOTMERGEPEN
DPon, Pixel is the inverse of the R2_MERGEPEN color
public static final int R2_MASKNOTPEN
DPna, Pixel is a combination of the screen color and the inverse of the pen color.
public static final int R2_NOTCOPYPEN
Pn, Pixel is the inverse of the pen color.
public static final int R2_MASKPENNOT
PDna, Pixel is a combination of the colors common to both the pen and the inverse of the screen.
public static final int R2_NOT
Dn, Pixel is the inverse of the screen color.
public static final int R2_XORPEN
DPx, Pixel is a combination of the colors in the pen or in the screen, but not in both.
public static final int R2_NOTMASKPEN
DPan, Pixel is the inverse of the R2_MASKPEN color.
public static final int R2_MASKPEN
DPa, Pixel is a combination of the colors common to both the pen and the screen.
public static final int R2_NOTXORPEN
DPxn, Pixel is the inverse of the R2_XORPEN color.
public static final int R2_NOP
D, Pixel remains unchanged.
public static final int R2_MERGENOTPEN
DPno, Pixel is a combination of the colors common to both the screen and the inverse of the pen.
public static final int R2_COPYPEN
P, Pixel is the pen color.
public static final int R2_MERGEPENNOT
PDno, Pixel is a combination of the pen color and the inverse of the screen color.
public static final int R2_MERGEPEN
DPo, Pixel is a combination of the pen color and the screen color.
public static final int R2_WHITE
1, Pixel is always 1
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.