\hypertarget{bsp___b_m_p_8cpp_source}{}\doxysection{bsp\+\_\+\+BMP.\+cpp}
\label{bsp___b_m_p_8cpp_source}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_BMP.cpp@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_BMP.cpp}}
\mbox{\hyperlink{bsp___b_m_p_8cpp}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00002}00002 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00003}00003 \textcolor{comment}{ \#  Copyright (c) 2022 Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00004}00004 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00005}00005 \textcolor{comment}{ \#  本软件按原样提供,无任何明示或暗示}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00006}00006 \textcolor{comment}{ \#  在任何情况下,作者都不承担任何损害赔偿责任}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00007}00007 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00008}00008 \textcolor{comment}{ \#  使用的许可声明:}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00009}00009 \textcolor{comment}{ \#  1.  不得歪曲本软件的来源,你不能声称你编写了原始软件.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00010}00010 \textcolor{comment}{ \#  2.  免费授予以任何目的,前提是版权声明出现在所有副本中.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00011}00011 \textcolor{comment}{ \#      并且版权声明和许可声明同时出现.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00012}00012 \textcolor{comment}{ \#  3.  你有使用,复制,修改,分发,和销售本软件的许可.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00013}00013 \textcolor{comment}{ \#  4.  如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00014}00014 \textcolor{comment}{ \#  5.  本通知不得从任何来源删除或更改.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00015}00015 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00016}00016 \textcolor{comment}{ \#  Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00017}00017 \textcolor{comment}{ \#      E-\/mail:zabbcccbbaz@163.com}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00018}00018 \textcolor{comment}{ \#      QQ:2715099320}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00019}00019 \textcolor{comment}{ \#      Mobile Phone:13005636215}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00020}00020 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00021}00021 \textcolor{comment}{ \#  All rights reserved.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00022}00022 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00023}00023 }
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00034}00034 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00035}00035 \textcolor{comment}{//  头文件}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00036}00036 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{bsp___b_m_p_8h}{bsp\_BMP.h}}"{}}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00038}00038 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00039}00039 \textcolor{comment}{//  类函数}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00045}\mbox{\hyperlink{classbsp___b_m_p_a4aaa5a2ea2f5b3c07c8e16009984766e}{00045}} \textcolor{comment}{}\textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___b_m_p_a4aaa5a2ea2f5b3c07c8e16009984766e}{bsp\_BMP::pels}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} x, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} y) \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00046}00046     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{bsp\_BMP::BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a6a7eb9da9dfb7790486523dac6c4b6c2}{biXPelsPerMeter}} = x;}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00047}00047     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{bsp\_BMP::BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a0c830c96c45441edc35a5397bc86ace0}{biYPelsPerMeter}} = y;\}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00052}\mbox{\hyperlink{classbsp___b_m_p_ae0e2551a06b8ad966a86b2c8324da25c}{00052}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{classbsp___b_m_p_ae0e2551a06b8ad966a86b2c8324da25c}{bsp\_BMP::giveData}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00053}00053     free(\mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{dat}});}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00054}00054     \mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{dat}} = (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*)malloc(\mbox{\hyperlink{classbsp___b_m_p_a8a1c31ee70ed4061ad8bea4254959b83}{Size}});}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00055}00055     \textcolor{keywordflow}{return} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}})\mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{dat}};\}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00059}\mbox{\hyperlink{classbsp___b_m_p_abe5d545dea1090a228843f140650f573}{00059}} \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___b_m_p_abe5d545dea1090a228843f140650f573}{bsp\_BMP::delData}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00060}00060     free(\mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{dat}});\}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00068}\mbox{\hyperlink{classbsp___b_m_p_a17c0c014ef6ce7d09a5dd81c5d2c5d57}{00068}} \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___b_m_p_a17c0c014ef6ce7d09a5dd81c5d2c5d57}{bsp\_BMP::ColorsSet}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} R, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} G, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} B,\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} i) \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00069}00069     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_ab5fe5744a8fe46833743bc6b5cf72a49}{bmiColors}}[i].\mbox{\hyperlink{struct___r_g_b_q_u_a_d_ad26ba005b107e31a81b9e3e981ca9f1d}{rgbBlue}} = B;}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00070}00070     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_ab5fe5744a8fe46833743bc6b5cf72a49}{bmiColors}}[i].\mbox{\hyperlink{struct___r_g_b_q_u_a_d_a2e445545aae97ebab36603942d3780d1}{rgbGreen}} = G;}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00071}00071     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_ab5fe5744a8fe46833743bc6b5cf72a49}{bmiColors}}[i].\mbox{\hyperlink{struct___r_g_b_q_u_a_d_a9756faed264a45ead4f89567e807247f}{rgbRed}} = R;}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00072}00072     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_ab5fe5744a8fe46833743bc6b5cf72a49}{bmiColors}}[i].\mbox{\hyperlink{struct___r_g_b_q_u_a_d_a742c7421feef58afb68308d3643bd924}{rgbReserved}} = 0;\}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00078}\mbox{\hyperlink{classbsp___b_m_p_a535cd9bfe5e49ba97ff9c4a1dd8ebb51}{00078}} \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___b_m_p_a535cd9bfe5e49ba97ff9c4a1dd8ebb51}{bsp\_BMP::sizeSet}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} x, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} y) \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00079}00079     free(\mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{dat}});}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00080}00080     \mbox{\hyperlink{classbsp___b_m_p_a8a1c31ee70ed4061ad8bea4254959b83}{Size}} = x * y;}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00081}00081     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a28dd4e1f56936b64f6e01db9b2d171f2}{biWidth}} = x;         \textcolor{comment}{//  色彩宽度}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00082}00082     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a9f6c38749a3b5f8b261be7a6556cf97a}{biHeight}} = y;           \textcolor{comment}{//  色彩高度}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00083}00083     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_af53728df68db96b9decc5100bc1bf7e0}{bfOffBits}} =}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00084}00084         \textcolor{keyword}{sizeof}(\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o}{\_BITMAPINFO}});                 \textcolor{comment}{//  位图数据偏倚}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00085}00085     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a1bd9726a58f87d278efa58d6d7c70a81}{bfSize}} =}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00086}00086         x * y +}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00087}00087         \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_af53728df68db96b9decc5100bc1bf7e0}{bfOffBits}};         \textcolor{comment}{//  文件大小}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00088}00088     \}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00090}00090 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00091}00091 \textcolor{comment}{//  构造函数}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00097}\mbox{\hyperlink{classbsp___b_m_p_a27d05488822dc9548e0783d46808a1db}{00097}} \textcolor{comment}{}\mbox{\hyperlink{classbsp___b_m_p_a27d05488822dc9548e0783d46808a1db}{bsp\_BMP::bsp\_BMP}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} Width, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} Height) \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00098}00098     \mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{bsp\_BMP::dat}} = NULL;}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00099}00099     \mbox{\hyperlink{classbsp___b_m_p_a8a1c31ee70ed4061ad8bea4254959b83}{bsp\_BMP::Size}} = Width * Height;}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00100}00100     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a28dd4e1f56936b64f6e01db9b2d171f2}{biWidth}} = Width;         \textcolor{comment}{//  色彩宽度}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00101}00101     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a9f6c38749a3b5f8b261be7a6556cf97a}{biHeight}} = Height;          \textcolor{comment}{//  色彩高度}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00102}00102     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a6810e258839bc4345e2036af20e607db}{bfType}} = 0x4D42;          \textcolor{comment}{//  恒为保护字}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00103}00103     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a71c78132cda5e8b032fb4f549ec9a14a}{bfReserved1}} = 0;         \textcolor{comment}{//  保留字}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00104}00104     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a3f69e4551c8fee241e5a4cd224c64f50}{bfReserved2}} = 0;         \textcolor{comment}{//  保留字}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00105}00105     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_aef77b295d3a4b6540873c9e0d2ef53d2}{biCompression}} = 0;         \textcolor{comment}{//  无压缩}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00106}00106     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a0fa85188799eb931e2a03c887751a89e}{biSizeImage}} = 0;         \textcolor{comment}{//  无压缩下为0}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00107}00107     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a42d10de030492301ff4a3d5cfb91c2dd}{biPlanes}} = 1;               \textcolor{comment}{//  恒为保护字}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00108}00108     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a1bb27f668cbed1ce6523e7042962a0e7}{biClrUsed}} = 0;             \textcolor{comment}{//  使用全部颜色}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00109}00109     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a4ee52fd1ab5c173a6e54444d1ec61dab}{biClrImportant}} = 0;       \textcolor{comment}{//  全部颜色都重要}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00110}00110     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a6a7eb9da9dfb7790486523dac6c4b6c2}{biXPelsPerMeter}} = 0;     \textcolor{comment}{//  像素-\/不太重要}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00111}00111     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a0c830c96c45441edc35a5397bc86ace0}{biYPelsPerMeter}} = 0;     \textcolor{comment}{//  像素-\/不太重要}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00112}00112     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a750a301fb5962c5fc2b7fac173d96bdf}{biSize}} = 40;              \textcolor{comment}{//  信息头大小}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00113}00113     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_af53728df68db96b9decc5100bc1bf7e0}{bfOffBits}} = }
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00114}00114         \textcolor{keyword}{sizeof}(\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o}{\_BITMAPINFO}});                     \textcolor{comment}{//  位图数据偏倚}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00115}00115     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a1bd9726a58f87d278efa58d6d7c70a81}{bfSize}} = }
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00116}00116         Width * Height+ }
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00117}00117         \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_af53728df68db96b9decc5100bc1bf7e0}{bfOffBits}};             \textcolor{comment}{//  文件大小}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00118}00118     \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a98f05ea6cc8388d3ca701a834b04a286}{biBitCount}} = 8;           \textcolor{comment}{//  色彩深度}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00119}00119     \}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00120}00120 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00121}\mbox{\hyperlink{classbsp___b_m_p_a604d7e5683da37be890672aa690c2ff2}{00121}} \mbox{\hyperlink{classbsp___b_m_p_a604d7e5683da37be890672aa690c2ff2}{bsp\_BMP::\string~bsp\_BMP}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00122}00122     free(\mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{dat}});\}}

\end{DoxyCode}
