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

📄 group__draw__fns.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 5 页
字号:
          <td class="mdname" nowrap> <em>ry</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>Draws a ellipse. <p>This function draws an ellipse with the zero pen on the DC <em>hdc</em>. The center of the ellipse is at <em></em>(sx, sy), the x-coordinate radius is <em>rx</em>, and the y-coordinate radius is <em>ry</em>.<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>hdc</em>&nbsp;</td><td>The device context. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>sx</em>&nbsp;</td><td>sx,sy: The center of the ellipse. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>sy</em>&nbsp;</td><td>sx,sy: The center of the ellipse. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>rx</em>&nbsp;</td><td>The x-coordinate radius of the ellipse. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>ry</em>&nbsp;</td><td>The y-coordinate radius of the ellipse.</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__draw__fns.htm#ga24">EllipseGenerator</a>, <a class="el" href="group__dc__attrs.htm">DC attribute operations</a> </dd></dl>    </td>  </tr></table><a class="anchor" name="ga24" doxytag="gdi.h::EllipseGenerator"></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 GUIAPI EllipseGenerator           </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>int&nbsp;</td>          <td class="mdname" nowrap> <em>sx</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>sy</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>rx</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>ry</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#ga2">CB_ELLIPSE</a>&nbsp;</td>          <td class="mdname" nowrap> <em>cb</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>An ellipse generator. <p>This is a general ellipse generator, it will generate two points on the same horizontal scan line at every turn. When it generates the points on the ellipse, it will call the callback <em>cb</em> and pass the context <em>context</em>, the y-coordinate of the scan line, the x-coordinate of the left point on the scan line, and the x-coordinate of the right point. Note that in some cases, the left point and the right point will be the same.<p>MiniGUI implements <em>Ellipse</em>, <em>FillEllipse</em>, and <em>InitEllipseRegion</em> functions by using this generator.<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 callback <em>cb</em>. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>sx</em>&nbsp;</td><td>sx,sy: The center of the ellipse. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>sy</em>&nbsp;</td><td>sx,sy: The center of the ellipse. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>rx</em>&nbsp;</td><td>The x-radius of the ellipse. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>ry</em>&nbsp;</td><td>The y-radius of the ellipse. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>cb</em>&nbsp;</td><td>The ellipse generator callback.</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__draw__fns.htm#ga38">Ellipse</a>, <a class="el" href="group__draw__fns.htm#ga42">FillEllipse</a>, <a class="el" href="group__region__fns.htm#ga24">InitEllipseRegion</a>, <a class="el" href="group__draw__fns.htm#ga1">CB_CIRCLE</a> </dd></dl>    </td>  </tr></table><a class="anchor" name="ga40" doxytag="gdi.h::FillBox"></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 GUIAPI FillBox           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__handles.htm#ga2">HDC</a>&nbsp;</td>          <td class="mdname" nowrap> <em>hdc</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>x</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>y</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>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>h</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>Fills a rectangle box. <p>This function fills a box with the current brush in the DC <em>hdc</em>.<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>hdc</em>&nbsp;</td><td>The device context. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>x,y: The coorinates of the upper-left corner of the box. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>x,y: The coorinates of the upper-left corner of the box. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>The width of the box. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>The height of the box.</td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__dc__attrs.htm">DC attribute operations</a> </dd></dl>    </td>  </tr></table><a class="anchor" name="ga41" doxytag="gdi.h::FillCircle"></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 GUIAPI FillCircle           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__handles.htm#ga2">HDC</a>&nbsp;</td>          <td class="mdname" nowrap> <em>hdc</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>sx</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>sy</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>r</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>Fills a circle. <p>This function fills a circle with the current brush in the DC <em>hdc</em>.<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>hdc</em>&nbsp;</td><td>The device context. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>sx</em>&nbsp;</td><td>sx,sy: The center of the circle. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>sy</em>&nbsp;</td><td>sx,sy: The center of the circle. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>r</em>&nbsp;</td><td>The radius of the circle.</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__draw__fns.htm#ga23">CircleGenerator</a>, <a class="el" href="group__dc__attrs.htm">DC attribute operations</a> </dd></dl>    </td>  </tr></table><a class="anchor" name="ga42" doxytag="gdi.h::FillEllipse"></a><p><table class="mdTable" cellpadding="2" cellspacing=

⌨️ 快捷键说明

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