libUEMF
A portable library for reading and writing WMF, EMF and EMF+ files
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
EMF Ternary Raster Operation enumeration

Macros

#define U_SRCCOPY   0x00cc0020
 SRCCOPY.
 
#define U_SRCPAINT   0x00ee0086
 SRCPAINT.
 
#define U_SRCAND   0x008800c6
 SRCAND.
 
#define U_SRCINVERT   0x00660046
 SRCINVERT.
 
#define U_SRCERASE   0x00440328
 SRCERASE.
 
#define U_NOTSRCCOPY   0x00330008
 NOTSRCCOPY.
 
#define U_NOTSRCERASE   0x001100a6
 NOTSRCERASE.
 
#define U_MERGECOPY   0x00c000ca
 MERGECOPY.
 
#define U_MERGEPAINT   0x00bb0226
 MERGEPAINT.
 
#define U_PATCOPY   0x00f00021
 PATCOPY.
 
#define U_PATPAINT   0x00fb0a09
 PATPAINT.
 
#define U_PATINVERT   0x005a0049
 PATINVERT.
 
#define U_DSTINVERT   0x00550009
 DSTINVERT.
 
#define U_BLACKNESS   0x00000042
 BLACKNESS.
 
#define U_WHITENESS   0x00ff0062
 WHITENESS.
 
#define U_NOOP   0x00aa0029
 Many GDI programs end with a bitblt with this ROP == "D". Seems to work like flush()
 
#define U_NOMIRRORBITMAP   0x80000000
 If bit set, disable horizontal reflection of bitmap.
 

Detailed Description

For U_EMR* dwROP fields. Microsoft name: Ternary Raster Operation enumeration WMF manual 2.1.1.31

These codes specify:

  1. an order of operands (composed of various orders and combinations of: Dest, Src, Pen) (There are 3, hence "Ternary Raster Operation")
  2. an order of operators to apply to the operands (composed of Not, Xor, Or, And) Only a few of the more common operations are provided here. When the Operation does not use a Src operand the corresponding source bitmap may be omitted from the record.

For more details see: http://wiki.winehq.org/TernaryRasterOps