📄 book_text17.htm
字号:
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">BMP</SPAN><SPAN
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 宋体; mso-bidi-font-size: 10.0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'; mso-shading: white; mso-pattern: gray-15 auto">数据的字节数</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'"><O:P>
</O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define
DWORD_WBYTES(x)<SPAN
style="mso-tab-count: 3">
</SPAN>((((x)+31UL)>>5)<<2)<O:P> </O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'"> <O:P>
</O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define
min(a, b)<SPAN style="mso-spacerun: yes"> </SPAN>(((a) <
(b)) ? (a) : (b))<O:P> </O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'"> <O:P>
</O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#ifdef
WIN32<O:P> </O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define
BMPDATA<SPAN style="mso-tab-count: 1"> </SPAN>BYTE<O:P>
</O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#else<O:P>
</O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define
BMPDATA<SPAN style="mso-tab-count: 1"> </SPAN>BYTE
_huge<O:P> </O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#endif<O:P>
</O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">//
#include "test.cpp"<O:P> </O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'"> <O:P>
</O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define
PALVERSION<SPAN
style="mso-spacerun: yes">
</SPAN>0x0300<O:P> </O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define
DIB_STORAGEWIDTH(x) ((x + 3) & ~3)<O:P> </O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define
WIDTHBYTES(i)<SPAN style="mso-tab-count: 1">
</SPAN>((i+31)/32*4)<O:P> </O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define
MAXPALETTE<SPAN style="mso-tab-count: 1">
</SPAN>256<SPAN style="mso-tab-count: 1"> </SPAN><SPAN
style="mso-spacerun: yes"> </SPAN>/* max. # supported palette
entries */<O:P> </O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define
MAXLOADFLCNUMBER<SPAN style="mso-tab-count: 1"> </SPAN>255<O:P>
</O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'"> <O:P>
</O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">class
PALETTE<O:P> </O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">{<O:P>
</O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">private:<O:P>
</O:P></SPAN></P>
<P class=MsoNormal
style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-f
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -