1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
use Gdi as gdi;
/// Sets the pixel value in the destination bitmap to black
pub use R2_BLACK;
/// Sets the pixel value in the destination bitmap to white
pub use R2_WHITE;
/// Replaces the pixel value in the destination with the pixel value of the pen
pub use R2_COPYPEN;
/// Replaces the pixel value of the destination with the result of the
/// destination AND’ed with the INVERSE pixel value of the pen
pub use R2_MASKNOTPEN;
/// Replaces the pixel value of the destination with the result of the
/// destination bitmap AND’ed with the pixel value of the pen
pub use R2_MASKPEN;
/// Replaces the pixel value of the destination with the INVERSE of the
/// destination bitmap pixel value AND’ed with the pixel value of the pen
pub use R2_MASKPENNOT;
/// Replaces the pixel value of the destination with the result of the
/// destination bitmap OR’ed with the INVERSE pixel value of the pen
pub use R2_MERGENOTPEN;
/// Replaces the pixel value of the destination with the result of the
/// destination OR’ed with the pixel value of the pen
pub use R2_MERGEPEN;
/// Replaces the pixel value of the destination with the INVERSE of the
/// destination bitmap pixel value OR’ed with the pixel value of the pen
pub use R2_MERGEPENNOT;
/// The destination bitmap is not altered
pub use R2_NOP;
/// INVERTs the value of the destination bitmap pixel value
pub use R2_NOT;
/// Replaces the pixel value in the destination bitmap with the INVERSE of the
/// pixel value of the pen
pub use R2_NOTCOPYPEN;
/// Replaces the pixel value in the destination bitmap with the INVERSE result
/// of the destination bitmap AND’ed with the pixel value of the pen
pub use R2_NOTMASKPEN;
/// Replaces the pixel value of the destination bitmap with the INVERSE result
/// of the destination bitmap OR’ed with the pixel value of the pen
pub use R2_NOTMERGEPEN;
/// Replaces the pixel value of the destination bitmap with the INVERSE result
/// of the destination bitmap XOR’ed with the pixel value of the pen
pub use R2_NOTXORPEN;
/// Replaces the pixel value of the destination bitmap with the result of the
/// destination bitmap XOR’ed with the pixel value of the pen
pub use R2_XORPEN;