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

📄 group__draw__fns.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 5 页
字号:
    <td><p>The type of ellipse generator callback. <p><p>Definition at line <a class="el" href="gdi_8h-source.htm#l02877">2877</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="ga5" doxytag="gdi.h::CB_EQUAL_PIXEL"></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">typedef <a class="el" href="group__simple__types.htm#ga0">BOOL</a>(* <a class="el" href="group__draw__fns.htm#ga5">CB_EQUAL_PIXEL</a>)(void *context, int x, int y)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Flodd filling generator's equation callback. <p><p>Definition at line <a class="el" href="gdi_8h-source.htm#l03046">3046</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="ga6" doxytag="gdi.h::CB_FLOOD_FILL"></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">typedef void(* <a class="el" href="group__draw__fns.htm#ga6">CB_FLOOD_FILL</a>)(void *context, int x1, int x2, int y)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Flodd filling generator's scan line callback. <p><p>Definition at line <a class="el" href="gdi_8h-source.htm#l03052">3052</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="ga7" doxytag="gdi.h::CB_GET_LINE_BUFF"></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">typedef void *(* <a class="el" href="group__draw__fns.htm#ga7">CB_GET_LINE_BUFF</a>)(void *context, int y)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Bitmap scaler's getting line buffer callback. <p><p>Definition at line <a class="el" href="gdi_8h-source.htm#l03084">3084</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="ga0" doxytag="gdi.h::CB_LINE"></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">typedef void(* <a class="el" href="group__draw__fns.htm#ga0">CB_LINE</a>)(void *context, int stepx, int stepy)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The type of line generator callback. <p><p>Definition at line <a class="el" href="gdi_8h-source.htm#l02806">2806</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="ga8" doxytag="gdi.h::CB_LINE_SCALED"></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">typedef void *(* <a class="el" href="group__draw__fns.htm#ga8">CB_LINE_SCALED</a>)(void *context, const void *line, int y)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Bitmap scaler's getting line buffer callback. <p><p>Definition at line <a class="el" href="gdi_8h-source.htm#l03090">3090</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="ga4" doxytag="gdi.h::CB_POLYGON"></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">typedef void(* <a class="el" href="group__draw__fns.htm#ga4">CB_POLYGON</a>)(void *context, int x1, int x2, int y)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The type of polygon generator callback. <p><p>Definition at line <a class="el" href="gdi_8h-source.htm#l02946">2946</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="ga30" doxytag="gdi.h::BitmapDDAScaler"></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__simple__types.htm#ga0">BOOL</a> GUIAPI BitmapDDAScaler           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void *&nbsp;</td>          <td class="mdname" nowrap> <em>context</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>const <a class="el" href="struct__BITMAP.htm">BITMAP</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>src_bmp</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>dst_w</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>dst_h</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="group__draw__fns.htm#ga7">CB_GET_LINE_BUFF</a>&nbsp;</td>          <td class="mdname" nowrap> <em>cb_get_line_buff</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="group__draw__fns.htm#ga8">CB_LINE_SCALED</a>&nbsp;</td>          <td class="mdname" nowrap> <em>cb_line_scaled</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>A bitmap scaler using DDA algorithm. <p>This function is a general bitmap scaler using DDA algorithm. This function scales the bitmap from bottom to top.<p>MiniGUI implements ScaleBitmap, FillBoxWithBitmap, FillBoxWithBitmapPart, and StretchBlt functions by using this scaler.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>The context will be passed to the callbacks. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>src_bmp</em>&nbsp;</td><td>The source BITMAP object. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>dst_w</em>&nbsp;</td><td>The width of the destination BITMAP object. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>dst_h</em>&nbsp;</td><td>The height of the destination BITMAP object. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>cb_get_line_buff</em>&nbsp;</td><td>The callback to get the line buffer of the destination BITMAP object. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>cb_line_scaled</em>&nbsp;</td><td>The callback to tell the line is scaled.</td></tr>  </table></dl><dl compact><dt><b>Note:</b></dt><dd>Only defined for _USE_NEWGAL</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__bmp__fns.htm#ga5">ScaleBitmap</a>, <a class="el" href="group__bmp__fns.htm#ga4">StretchBlt</a>, <a class="el" href="group__draw__fns.htm#ga31">BitmapDDAScaler2</a> </dd></dl>

⌨️ 快捷键说明

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