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

📄 group__nanox__draw.html

📁 Nano-x的设计架及相关文档----这是网上下载的中文翻译版本, E文的可以在其网站上下载.
💻 HTML
📖 第 1 页 / 共 5 页
字号:
    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Draws a filled ellipse at the specified position using the specified dimensions and graphics context on the specified drawable.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>id</em>&nbsp;</td><td>the ID of the drawable to draw the filled ellipse on </td></tr>    <tr><td valign=top><em>gc</em>&nbsp;</td><td>the ID of the graphics context to use when drawing the ellipse </td></tr>    <tr><td valign=top><em>x</em>&nbsp;</td><td>the X coordinate to draw the ellipse at relative to the drawable </td></tr>    <tr><td valign=top><em>y</em>&nbsp;</td><td>the Y coordinate to draw the ellipse at relative to the drawable </td></tr>    <tr><td valign=top><em>rx</em>&nbsp;</td><td>the radius of the ellipse on the X axis </td></tr>    <tr><td valign=top><em>ry</em>&nbsp;</td><td>the radius of the ellipse on the Y axis </td></tr>  </table></dl>    </td>  </tr></table><a name="a34" doxytag="nano-X.h::GrFillPoly"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void GrFillPoly </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">GR_DRAW_ID&nbsp;</td>          <td class="mdname" nowrap> <em>id</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_GC_ID&nbsp;</td>          <td class="mdname" nowrap> <em>gc</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_COUNT&nbsp;</td>          <td class="mdname" nowrap> <em>count</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_POINT *&nbsp;</td>          <td class="mdname" nowrap> <em>pointtable</em></td>        </tr>        <tr>          <td></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 filled polygon on the specified drawable using the specified graphics context.<p>The polygon is specified by an array of point structures. The polygon is automatically closed- the last point need not be the same as the first in order for the polygon to be closed.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>id</em>&nbsp;</td><td>the ID of the drawable to draw the polygon onto </td></tr>    <tr><td valign=top><em>gc</em>&nbsp;</td><td>the ID of the graphics context to use when drawing the polygon </td></tr>    <tr><td valign=top><em>count</em>&nbsp;</td><td>the number of points in the point array </td></tr>    <tr><td valign=top><em>pointtable</em>&nbsp;</td><td>pointer to an array of points describing the polygon </td></tr>  </table></dl>    </td>  </tr></table><a name="a21" doxytag="nano-X.h::GrFillRect"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void GrFillRect </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">GR_DRAW_ID&nbsp;</td>          <td class="mdname" nowrap> <em>id</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_GC_ID&nbsp;</td>          <td class="mdname" nowrap> <em>gc</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_COORD&nbsp;</td>          <td class="mdname" nowrap> <em>x</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_COORD&nbsp;</td>          <td class="mdname" nowrap> <em>y</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_SIZE&nbsp;</td>          <td class="mdname" nowrap> <em>width</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_SIZE&nbsp;</td>          <td class="mdname" nowrap> <em>height</em></td>        </tr>        <tr>          <td></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>Draw a filled rectangle of the specified dimensions and position on the specified drawable using the specified graphics context.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>id</em>&nbsp;</td><td>the ID of the drawable to draw the rectangle on </td></tr>    <tr><td valign=top><em>gc</em>&nbsp;</td><td>the ID of the graphics context to use when drawing the rectangle </td></tr>    <tr><td valign=top><em>x</em>&nbsp;</td><td>the X coordinate of the rectangle relative to the drawable </td></tr>    <tr><td valign=top><em>y</em>&nbsp;</td><td>the Y coordinate of the rectangle relative to the drawable </td></tr>    <tr><td valign=top><em>width</em>&nbsp;</td><td>the width of the rectangle </td></tr>    <tr><td valign=top><em>height</em>&nbsp;</td><td>the height of the rectangle </td></tr>  </table></dl>    </td>  </tr></table><a name="a0" doxytag="nano-X.h::GrGetGCInfo"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void GrGetGCInfo </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">GR_GC_ID&nbsp;</td>          <td class="mdname" nowrap> <em>gc</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="structGR__GC__INFO.html">GR_GC_INFO</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>gcip</em></td>        </tr>        <tr>          <td></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 in the specified <a class="el" href="structGR__GC__INFO.html">GR_GC_INFO</a> structure with information regarding the specified graphics context.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>gc</em>&nbsp;</td><td>A graphics context. </td></tr>    <tr><td valign=top><em>gcip</em>&nbsp;</td><td>Pointer to a <a class="el" href="structGR__GC__INFO.html">GR_GC_INFO</a> structure to store the result. </td></tr>  </table></dl>    </td>  </tr></table><a name="a19" doxytag="nano-X.h::GrLine"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void GrLine </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">GR_DRAW_ID&nbsp;</td>          <td class="mdname" nowrap> <em>id</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_GC_ID&nbsp;</td>          <td class="mdname" nowrap> <em>gc</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_COORD&nbsp;</td>          <td class="mdname" nowrap> <em>x1</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_COORD&nbsp;</td>          <td class="mdname" nowrap> <em>y1</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_COORD&nbsp;</td>          <td class="mdname" nowrap> <em>x2</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_COORD&nbsp;</td>          <td class="mdname" nowrap> <em>y2</em></td>        </tr>        <tr>          <td></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 line using the specified graphics context on the specified drawable from (x1, y1) to (x2, y2), with coordinates given relative to the drawable.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>id</em>&nbsp;</td><td>the ID of the drawable to draw the line on </td></tr>    <tr><td valign=top><em>gc</em>&nbsp;</td><td>the ID of the graphics context to use when drawing the line </td></tr>    <tr><td valign=top><em>x1</em>&nbsp;</td><td>the X coordinate of the start of the line relative to the drawable </td></tr>    <tr><td valign=top><em>y1</em>&nbsp;</td><td>the Y coordinate of the start of the line relative to the drawable </td></tr>    <tr><td valign=top><em>x2</em>&nbsp;</td><td>the X coordinate of the end of the line relative to the drawable </td></tr>    <tr><td valign=top><em>y2</em>&nbsp;</td><td>the Y coordinate of the end of the line relative to the drawable </td></tr>  </table></dl>    </td>  </tr></table><a name="a1" doxytag="nano-X.h::GrNewGC"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> GR_GC_ID GrNewGC </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;

⌨️ 快捷键说明

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