Module: Win32::CaptureIE::FFI::GDI32
- Included in:
- BitMap, ScreenCaptor
- Defined in:
- lib/win32/capture_ie/ffi/gdi32.rb
Overview
:nodoc:
Constant Summary collapse
- DRIVERVERSION =
0
- TECHNOLOGY =
2
- HORZSIZE =
4
- VERTSIZE =
6
- HORZRES =
8
- VERTRES =
10
- BITSPIXEL =
12
- PLANES =
14
- NUMBRUSHES =
16
- NUMPENS =
18
- NUMMARKERS =
20
- NUMFONTS =
22
- NUMCOLORS =
24
- PDEVICESIZE =
26
- CURVECAPS =
28
- LINECAPS =
30
- POLYGONALCAPS =
32
- TEXTCAPS =
34
- CLIPCAPS =
36
- RASTERCAPS =
38
- ASPECTX =
40
- ASPECTY =
42
- ASPECTXY =
44
- DIB_RGB_COLORS =
0
- DIB_PAL_COLORS =
1
- SRCCOPY =
Raster operations
0x00CC0020
- SRCPAINT =
0x00EE0086
- SRCAND =
0x008800C6
- SRCINVERT =
0x00660046
- SRCERASE =
0x00440328
- NOTSRCCOPY =
0x00330008
- NOTSRCERASE =
0x001100A6
- MERGECOPY =
0x00C000CA
- MERGEPAINT =
0x00BB0226
- PATCOPY =
0x00F00021
- PATPAINT =
0x00FB0A09
- PATINVERT =
0x005A0049
- DSTINVERT =
0x00550009
- BLACKNESS =
0x00000042
- WHITENESS =
0x00FF0062
- BI_RGB =
constants for the biCompression field
0
- BI_RLE8 =
1
- BI_RLE4 =
2
- BI_BITFIELDS =
3
- BI_JPEG =
4
- BI_PNG =
5
Constants included from CStruct
Class Method Summary collapse
Methods included from Base
Methods included from CStruct
c_type, define_c_struct, define_c_struct_under, define_c_type, sizeof
Class Method Details
.with_delete_dc(hdc) ⇒ Object
110 111 112 113 114 115 116 |
# File 'lib/win32/capture_ie/ffi/gdi32.rb', line 110 def with_delete_dc(hdc) begin yield hdc ensure DeleteDC(hdc) end end |
.with_delete_object(obj) ⇒ Object
118 119 120 121 122 123 124 |
# File 'lib/win32/capture_ie/ffi/gdi32.rb', line 118 def with_delete_object(obj) begin yield obj ensure DeleteObject(obj) end end |