⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 struct__bitmap.htm

📁 MINIGUI1.6开发API
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>MiniGUI V1.6.10 API Reference: _BITMAP Struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.2 --><div class="qindex"><a class="qindex" href="index.htm">Main&nbsp;Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.htm">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File&nbsp;List</a> | <a class="qindex" href="functions.htm">Data&nbsp;Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related&nbsp;Pages</a></div><h1>_BITMAP Struct Reference<br><small>[<a class="el" href="group__bmp__struct.htm">Bitmap structure</a>]</small></h1><code>#include &lt;<a class="el" href="gdi_8h-source.htm">gdi.h</a>&gt;</code><p><h2>Data Fields</h2><ul><li><a class="el" href="group__basic__types.htm#ga0">Uint8</a> <a class="el" href="struct__BITMAP.htm#o0">bmType</a><li><a class="el" href="group__basic__types.htm#ga0">Uint8</a> <a class="el" href="struct__BITMAP.htm#o1">bmBitsPerPixel</a><li><a class="el" href="group__basic__types.htm#ga0">Uint8</a> <a class="el" href="struct__BITMAP.htm#o2">bmBytesPerPixel</a><li><a class="el" href="group__basic__types.htm#ga0">Uint8</a> <a class="el" href="struct__BITMAP.htm#o3">bmAlpha</a><li><a class="el" href="group__basic__types.htm#ga4">Uint32</a> <a class="el" href="struct__BITMAP.htm#o4">bmColorKey</a><li><a class="el" href="group__basic__types.htm#ga4">Uint32</a> <a class="el" href="struct__BITMAP.htm#o5">bmWidth</a><li><a class="el" href="group__basic__types.htm#ga4">Uint32</a> <a class="el" href="struct__BITMAP.htm#o6">bmHeight</a><li><a class="el" href="group__basic__types.htm#ga4">Uint32</a> <a class="el" href="struct__BITMAP.htm#o7">bmPitch</a><li><a class="el" href="group__basic__types.htm#ga0">Uint8</a> * <a class="el" href="struct__BITMAP.htm#o8">bmBits</a><li>void * <a class="el" href="struct__BITMAP.htm#o9">bmAlphaPixelFormat</a></ul><hr><a name="_details"></a><h2>Detailed Description</h2>Expanded device-dependent bitmap structure. <p><p>Definition at line <a class="el" href="gdi_8h-source.htm#l07152">7152</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.<hr><h2>Field Documentation</h2><a class="anchor" name="o3" doxytag="_BITMAP::bmAlpha"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="group__basic__types.htm#ga0">Uint8</a> <a class="el" href="struct__BITMAP.htm#o3">bmAlpha</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The alpha channel value. <p>Definition at line <a class="el" href="gdi_8h-source.htm#l07189">7189</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="o9" doxytag="_BITMAP::bmAlphaPixelFormat"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void* <a class="el" href="struct__BITMAP.htm#o9">bmAlphaPixelFormat</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The private pixel format <p>Definition at line <a class="el" href="gdi_8h-source.htm#l07206">7206</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="o8" doxytag="_BITMAP::bmBits"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="group__basic__types.htm#ga0">Uint8</a>* <a class="el" href="struct__BITMAP.htm#o8">bmBits</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The bits of the bitmap <p>Definition at line <a class="el" href="gdi_8h-source.htm#l07203">7203</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="o1" doxytag="_BITMAP::bmBitsPerPixel"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="group__basic__types.htm#ga0">Uint8</a> <a class="el" href="struct__BITMAP.htm#o1">bmBitsPerPixel</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The bits per piexel. <p>Definition at line <a class="el" href="gdi_8h-source.htm#l07185">7185</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="o2" doxytag="_BITMAP::bmBytesPerPixel"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="group__basic__types.htm#ga0">Uint8</a> <a class="el" href="struct__BITMAP.htm#o2">bmBytesPerPixel</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The bytes per piexel. <p>Definition at line <a class="el" href="gdi_8h-source.htm#l07187">7187</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="o4" doxytag="_BITMAP::bmColorKey"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="group__basic__types.htm#ga4">Uint32</a> <a class="el" href="struct__BITMAP.htm#o4">bmColorKey</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The color key value. <p>Definition at line <a class="el" href="gdi_8h-source.htm#l07191">7191</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="o6" doxytag="_BITMAP::bmHeight"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="group__basic__types.htm#ga4">Uint32</a> <a class="el" href="struct__BITMAP.htm#o6">bmHeight</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The height of the bitmap <p>Definition at line <a class="el" href="gdi_8h-source.htm#l07199">7199</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="o7" doxytag="_BITMAP::bmPitch"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="group__basic__types.htm#ga4">Uint32</a> <a class="el" href="struct__BITMAP.htm#o7">bmPitch</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The pitch of the bitmap <p>Definition at line <a class="el" href="gdi_8h-source.htm#l07201">7201</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="o0" doxytag="_BITMAP::bmType"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="group__basic__types.htm#ga0">Uint8</a> <a class="el" href="struct__BITMAP.htm#o0">bmType</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Bitmap types, can be OR'ed by the following values:<ul><li>BMP_TYPE_NORMAL<br> A nomal bitmap, without alpha and color key.</li><li>BMP_TYPE_RLE<br> A RLE (run-length-encode) encoded bitmap. The encoding translates the pixel data to a stream of segments of the form</li></ul><p>&lt;skip&gt; &lt;run&gt; &lt;data&gt;<p>where &lt;skip&gt; is the number of transparent pixels to skip, &lt;run&gt; is the number of opaque pixels to blit, and &lt;data&gt; are the pixels themselves.<p>Encoded pixels always have the same format as the BITMAP. &lt;skip&gt; and &lt;run&gt; are unsigned 8 bit integers, except for 32 bit depth where they are 16 bit. This makes the pixel data aligned at all times. Segments never wrap around from one scan line to the next. The end of one segment is marked by a zero &lt;skip&gt;,&lt;run&gt; pair.<ul><li>BMP_TYPE_ALPHA<br> Per-pixel alpha in the bitmap.</li><li>BMP_TYPE_ALPHACHANNEL<br> The <em>bmAlpha</em> is a valid alpha channel value.</li><li>BMP_TYPE_COLORKEY<br> The <em>bmColorKey</em> is a valid color key value.</li><li>BMP_TYPE_PRIV_PIXEL<br> The bitmap have a private pixel format. </li></ul><p>Definition at line <a class="el" href="gdi_8h-source.htm#l07183">7183</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="o5" doxytag="_BITMAP::bmWidth"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="group__basic__types.htm#ga4">Uint32</a> <a class="el" href="struct__BITMAP.htm#o5">bmWidth</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The width of the bitmap <p>Definition at line <a class="el" href="gdi_8h-source.htm#l07197">7197</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><hr>The documentation for this struct was generated from the following file:<ul><li><a class="el" href="gdi_8h-source.htm">gdi.h</a></ul><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:52 2007 for MiniGUI V1.6.10 API Reference by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="http://www.minigui.com/api_ref/1.6.10/doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -