apiw_sys/windows_subsystem/
binary_raster_ops.rs

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