File: setdibdev

package info (click to toggle)
libwmf 0.1.16-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 3,488 kB
  • ctags: 4,516
  • sloc: ansic: 34,947; sh: 7,111; cpp: 721; makefile: 311; perl: 132
file content (60 lines) | stat: -rw-r--r-- 929 bytes parent folder | download
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
	34 00 			{
	00 00  			{size
	33 0d 			opcode
0	00 00 			guess DIB_PAL_COLORS vs DIB_RGB_COLORS ?
1	08 00 			guess lines ?
2	00 00			guess startscan ?
3	00 00 			guess ySrc
4	00 00 			guess xSrc
5	08 00 			cy
6	08 00			cx
7	c2 01 			yDest
8	0e 01 			xDest
9	28 00 00 00		the full dib in question
	08 00 00 00 
	08 00 00 00
	01 00 01 00 
	00 00 00 00
	cb 69 82 5f 
	d4 4e 68 00
	ac ef 63 00 
	00 00 00 00
	a4 00 00 00 
	01 00 00 00
	27 15 00 00 
	ff 00 0c 00
	0c 00 0c 00 
	ff 00 c0 00
	c0 00 00 00 
	2a 19 00 00 
	00 00 00 00 
	45 45 45 00  
	b2 14

SetDIBitsToDevice(bltmet, 
270, 
450, 
8, 
8, 
0, 
0,
0,
8,
wBrickBits,
&BitmapInfo,
DIB_RGB_COLORS);

SetDIBitsToDevice
		HDC32 hdc,
        INT32 xDest,
        INT32 yDest,
        DWORD cx,
        DWORD cy,
        INT32 xSrc,
        INT32 ySrc,
        UINT32 startscan,
        UINT32 lines,
        LPCVOID bits,
        const BITMAPINFO *info,
        UINT32 coloruse