92 lines
24 KiB
XML
92 lines
24 KiB
XML
|
|
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|||
|
|
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_bsp___b_m_p_8h_source" xml:lang="zh">
|
|||
|
|
<title>bsp_BMP.h</title>
|
|||
|
|
<indexterm><primary>D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h</primary></indexterm>
|
|||
|
|
浏览该文件的文档.<programlisting linenumbering="unnumbered"><anchor xml:id="_bsp___b_m_p_8h_source_1l00001"/>00001 <emphasis role="comment">/*----------------------------------------------------------------------------------------------------</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00002"/>00002 <emphasis role="comment"> #</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00003"/>00003 <emphasis role="comment"> #  Copyright (c) 2022 Yuankang Liang(XerolySkinner)</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00004"/>00004 <emphasis role="comment"> #</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00005"/>00005 <emphasis role="comment"> #  本软件按原样提供,无任何明示或暗示</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00006"/>00006 <emphasis role="comment"> #  在任何情况下,作者都不承担任何损害赔偿责任</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00007"/>00007 <emphasis role="comment"> #</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00008"/>00008 <emphasis role="comment"> #  使用的许可声明:</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00009"/>00009 <emphasis role="comment"> #  1.  不得歪曲本软件的来源,你不能声称你编写了原始软件.</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00010"/>00010 <emphasis role="comment"> #  2.  免费授予以任何目的,前提是版权声明出现在所有副本中.</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00011"/>00011 <emphasis role="comment"> #      并且版权声明和许可声明同时出现.</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00012"/>00012 <emphasis role="comment"> #  3.  你有使用,复制,修改,分发,和销售本软件的许可.</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00013"/>00013 <emphasis role="comment"> #  4.  如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00014"/>00014 <emphasis role="comment"> #  5.  本通知不得从任何来源删除或更改.</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00015"/>00015 <emphasis role="comment"> #</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00016"/>00016 <emphasis role="comment"> #  Yuankang Liang(XerolySkinner)</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00017"/>00017 <emphasis role="comment"> #      E-mail:zabbcccbbaz@163.com</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00018"/>00018 <emphasis role="comment"> #      QQ:2715099320</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00019"/>00019 <emphasis role="comment"> #      Mobile Phone:13005636215</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00020"/>00020 <emphasis role="comment"> #</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00021"/>00021 <emphasis role="comment"> #  All rights reserved.</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00022"/>00022 <emphasis role="comment"> */</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00023"/>00023
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00033"/>00033 <emphasis role="preprocessor">#pragma once</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00034"/>00034 <emphasis role="preprocessor">#ifdef __cplusplus</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00035"/>00035 <emphasis role="preprocessor">#include "<link linkend="_varint_8h">varint.h</link>"</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00036"/>00036 <emphasis role="preprocessor">#include <stdlib.h></emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00038"/>00038 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00039"/>00039 <emphasis role="comment">//  文件头</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00040"/>00040 <emphasis role="preprocessor">#pragma pack(1)</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00044"/><link linkend="_struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r">00044</link> <emphasis role="keyword">typedef</emphasis> <emphasis role="keyword">struct</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00045"/>00045 {
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00046"/><link linkend="_struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a6810e258839bc4345e2036af20e607db">00046</link>     <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> <link linkend="_struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a6810e258839bc4345e2036af20e607db">bfType</link>;                     <emphasis role="comment">//文件标志.固定为'BM',用来识别BMP位图类型</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00047"/><link linkend="_struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a1bd9726a58f87d278efa58d6d7c70a81">00047</link>     <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> <link linkend="_struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a1bd9726a58f87d278efa58d6d7c70a81">bfSize</link>;                     <emphasis role="comment">//文件大小,占四个字节</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00048"/><link linkend="_struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a71c78132cda5e8b032fb4f549ec9a14a">00048</link>     <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> <link linkend="_struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a71c78132cda5e8b032fb4f549ec9a14a">bfReserved1</link>;                <emphasis role="comment">//保留,总为0</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00049"/><link linkend="_struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a3f69e4551c8fee241e5a4cd224c64f50">00049</link>     <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> <link linkend="_struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a3f69e4551c8fee241e5a4cd224c64f50">bfReserved2</link>;                <emphasis role="comment">//保留,总为0</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00050"/><link linkend="_struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1af53728df68db96b9decc5100bc1bf7e0">00050</link>     <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> <link linkend="_struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1af53728df68db96b9decc5100bc1bf7e0">bfOffBits</link>;                  <emphasis role="comment">//从文件开始到位图数据(bitmap data)开始之间的的偏移量</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00051"/>00051 }<link linkend="_struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r">_BITMAPFILEHEADER</link>;
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00055"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r">00055</link> <emphasis role="keyword">typedef</emphasis> <emphasis role="keyword">struct </emphasis>{
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00056"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a750a301fb5962c5fc2b7fac173d96bdf">00056</link>     <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> <link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a750a301fb5962c5fc2b7fac173d96bdf">biSize</link>;                     <emphasis role="comment">//BITMAPINFOHEADER结构所需要的字数。</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00057"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a28dd4e1f56936b64f6e01db9b2d171f2">00057</link>     <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> <link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a28dd4e1f56936b64f6e01db9b2d171f2">biWidth</link>;                    <emphasis role="comment">//图象的宽度,以象素为单位 </emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00058"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a9f6c38749a3b5f8b261be7a6556cf97a">00058</link>     <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> <link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a9f6c38749a3b5f8b261be7a6556cf97a">biHeight</link>;                   <emphasis role="comment">//图象的高度,以象素为单位 </emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00059"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a42d10de030492301ff4a3d5cfb91c2dd">00059</link>     <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> <link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a42d10de030492301ff4a3d5cfb91c2dd">biPlanes</link>;                   <emphasis role="comment">//为目标设备说明位面数,其值将总是被设为1 </emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00060"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a98f05ea6cc8388d3ca701a834b04a286">00060</link>     <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> <link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a98f05ea6cc8388d3ca701a834b04a286">biBitCount</link>;                 <emphasis role="comment">//比特数/象素,其值为1、4、8、16、24、或32</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00061"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1aef77b295d3a4b6540873c9e0d2ef53d2">00061</link>     <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> <link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1aef77b295d3a4b6540873c9e0d2ef53d2">biCompression</link>;              <emphasis role="comment">//图象数据压缩的类型。其值可以是下述值之一:</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00062"/>00062                                         <emphasis role="comment">//BI_RGB:没有压缩;</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00063"/>00063                                         <emphasis role="comment">//BI_RLE8:每个象素8比特的RLE压缩编码,压缩格式由2字节组成(重复象素计数和颜色索引);</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00064"/>00064                                         <emphasis role="comment">//BI_RLE4:每个象素4比特的RLE压缩编码,压缩格式由2字节组成</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00065"/>00065                                         <emphasis role="comment">//BI_BITFIELDS:每个象素的比特由指定的掩码决定。</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00066"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0fa85188799eb931e2a03c887751a89e">00066</link>     <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> <link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0fa85188799eb931e2a03c887751a89e">biSizeImage</link>;                <emphasis role="comment">//图象的大小,以字节为单位。当用BI_RGB格式时,可设置为0</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00067"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a6a7eb9da9dfb7790486523dac6c4b6c2">00067</link>     <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> <link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a6a7eb9da9dfb7790486523dac6c4b6c2">biXPelsPerMeter</link>;            <emphasis role="comment">//水平分辨率,用象素/米表示</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00068"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0c830c96c45441edc35a5397bc86ace0">00068</link>     <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> <link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0c830c96c45441edc35a5397bc86ace0">biYPelsPerMeter</link>;            <emphasis role="comment">//垂直分辨率,用象素/米表示</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00069"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a1bb27f668cbed1ce6523e7042962a0e7">00069</link>     <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> <link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a1bb27f668cbed1ce6523e7042962a0e7">biClrUsed</link>;                  <emphasis role="comment">//位图实际使用的彩色表中的颜色索引数</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00070"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a4ee52fd1ab5c173a6e54444d1ec61dab">00070</link>     <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> <link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a4ee52fd1ab5c173a6e54444d1ec61dab">biClrImportant</link>;             <emphasis role="comment">//对图象显示有重要影响的颜色索引的数目,如果是0,表示都重要。</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00071"/>00071 }<link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r">_BITMAPINFOHEADER</link>;
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00075"/><link linkend="_struct___r_g_b_q_u_a_d">00075</link> <emphasis role="keyword">typedef</emphasis> <emphasis role="keyword">struct</emphasis>{
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00076"/><link linkend="_struct___r_g_b_q_u_a_d_1ad26ba005b107e31a81b9e3e981ca9f1d">00076</link>     <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> <link linkend="_struct___r_g_b_q_u_a_d_1ad26ba005b107e31a81b9e3e981ca9f1d">rgbBlue</link>;                     <emphasis role="comment">//指定蓝色强度</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00077"/><link linkend="_struct___r_g_b_q_u_a_d_1a2e445545aae97ebab36603942d3780d1">00077</link>     <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> <link linkend="_struct___r_g_b_q_u_a_d_1a2e445545aae97ebab36603942d3780d1">rgbGreen</link>;                    <emphasis role="comment">//指定绿色强度 </emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00078"/><link linkend="_struct___r_g_b_q_u_a_d_1a9756faed264a45ead4f89567e807247f">00078</link>     <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> <link linkend="_struct___r_g_b_q_u_a_d_1a9756faed264a45ead4f89567e807247f">rgbRed</link>;                      <emphasis role="comment">//指定红色强度 </emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00079"/><link linkend="_struct___r_g_b_q_u_a_d_1a742c7421feef58afb68308d3643bd924">00079</link>     <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> <link linkend="_struct___r_g_b_q_u_a_d_1a742c7421feef58afb68308d3643bd924">rgbReserved</link>;                 <emphasis role="comment">//保留,设置为0 </emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00080"/>00080     }<link linkend="_struct___r_g_b_q_u_a_d">_RGBQUAD</link>;
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00084"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o">00084</link> <emphasis role="keyword">typedef</emphasis> <emphasis role="keyword">struct</emphasis>{
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00085"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce">00085</link>     <link linkend="_struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r">_BITMAPFILEHEADER</link> <link linkend="_struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce">bmfHeader</link>;    <emphasis role="comment">//位图文件头</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00086"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d">00086</link>     <link linkend="_struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r">_BITMAPINFOHEADER</link> <link linkend="_struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d">bmiHeader</link>;    <emphasis role="comment">//位图信息头 </emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00087"/><link linkend="_struct___b_i_t_m_a_p_i_n_f_o_1ab5fe5744a8fe46833743bc6b5cf72a49">00087</link>     <link linkend="_struct___r_g_b_q_u_a_d">_RGBQUAD</link> bmiColors[256];        <emphasis role="comment">//调色板</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00088"/>00088 }<link linkend="_struct___b_i_t_m_a_p_i_n_f_o">_BITMAPINFO</link>;
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00089"/>00089 <emphasis role="preprocessor">#pragma pack()</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00091"/>00091 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00092"/>00092 <emphasis role="comment">//  头文件</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00093"/>00093 <emphasis role="preprocessor">#pragma once</emphasis>
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00097"/><link linkend="_classbsp___b_m_p">00097</link> <emphasis role="keyword">class </emphasis><link linkend="_classbsp___b_m_p">bsp_BMP</link> {
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00098"/>00098     <emphasis role="keyword">public</emphasis>:
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00099"/>00099         <link linkend="_classbsp___b_m_p">bsp_BMP</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> Width, <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> Height);
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00100"/>00100         <link linkend="_classbsp___b_m_p_1a604d7e5683da37be890672aa690c2ff2">~bsp_BMP</link>(<emphasis role="keywordtype">void</emphasis>);
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00101"/>00101     <emphasis role="keyword">public</emphasis>:
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00102"/>00102         <emphasis role="keywordtype">void</emphasis>    <link linkend="_classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e">pels</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> x, <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> y);
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00103"/>00103         <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>     <link linkend="_classbsp___b_m_p_1ae0e2551a06b8ad966a86b2c8324da25c">giveData</link>(<emphasis role="keywordtype">void</emphasis>);
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00104"/>00104         <emphasis role="keywordtype">void</emphasis>    <link linkend="_classbsp___b_m_p_1abe5d545dea1090a228843f140650f573">delData</link>(<emphasis role="keywordtype">void</emphasis>);
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00105"/>00105         <emphasis role="keywordtype">void</emphasis>    <link linkend="_classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57">ColorsSet</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> R, <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> G, <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> B,<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> i);
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00106"/>00106         <emphasis role="keywordtype">void</emphasis>    <link linkend="_classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51">sizeSet</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> x, <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> y);
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00107"/>00107     <emphasis role="keyword">public</emphasis>:
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00108"/><link linkend="_classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335">00108</link>         <link linkend="_struct___b_i_t_m_a_p_i_n_f_o">_BITMAPINFO</link> <link linkend="_classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335">BITMAPINFO</link>;     
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00109"/><link linkend="_classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83">00109</link>         <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> <link linkend="_classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83">Size</link>;                   
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00110"/><link linkend="_classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca">00110</link>         <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>* <link linkend="_classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca">dat</link>;                    
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00111"/>00111     };
|
|||
|
|
<anchor xml:id="_bsp___b_m_p_8h_source_1l00113"/>00113 <emphasis role="preprocessor">#endif</emphasis>
|
|||
|
|
</programlisting></section>
|