2.3.11.23 EMR_SETROP2 Record

The EMR_SETROP2 record defines a binary raster operation mode.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Type

Size

ROP2Mode

Type (4 bytes): An unsigned integer that identifies this record type as EMR_SETROP2. This value is 0x00000014.

Size (4 bytes): An unsigned integer that specifies the size of this record in bytes.

ROP2Mode (4 bytes): An unsigned integer that specifies the raster operation mode and is in the Binary Raster Op enumeration ([MS-WMF] section 2.1.1.2).

Binary raster operation mix modes define how to combine source and destination colors when drawing with the current pen. The mix modes are binary raster operation codes, representing all possible Boolean functions of two variables, using the binary operations AND, OR, and XOR (exclusive OR), and the unary operation NOT. The mix mode is for raster devices only; it is not available for vector devices.

See section 2.3.11 for more state record types.

Show: