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

📄 group__nanox__region.html

📁 Nano-x的设计架及相关文档----这是网上下载的中文翻译版本, E文的可以在其网站上下载.
💻 HTML
📖 第 1 页 / 共 3 页
字号:
  <tr>    <td>      &nbsp;    </td>    <td><p>Tests whether the specified rectangle is contained within the specified region.<p>Returns GR_RECT_OUT if it is not inside it at all, GR_RECT_ALLIN if it is completely contained within the region, or GR_RECT_PARTIN if it is partially contained within the region.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>region</em>&nbsp;</td><td>The ID of the region to examine. </td></tr>    <tr><td valign=top><em>x</em>&nbsp;</td><td>The X coordinates of the rectangle to test. </td></tr>    <tr><td valign=top><em>y</em>&nbsp;</td><td>The Y coordinates of the rectangle to test. </td></tr>    <tr><td valign=top><em>w</em>&nbsp;</td><td>The width of the rectangle to test. </td></tr>    <tr><td valign=top><em>h</em>&nbsp;</td><td>The height of the rectangle to test. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>GR_RECT_PARTIN, GR_RECT_ALLIN, or GR_RECT_OUT. </dd></dl>    </td>  </tr></table><a name="a7" doxytag="nano-X.h::GrSetGCRegion"></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 GrSetGCRegion </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>GR_REGION_ID&nbsp;</td>          <td class="mdname" nowrap> <em>region</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>Sets the clip mask of the specified graphics context to the specified region.<p>Subsequent drawing operations using this graphics context will not draw outside the specified region. The region ID can be set to 0 to remove the clipping region from 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>The ID of the graphics context to set the clip mask of. </td></tr>    <tr><td valign=top><em>region</em>&nbsp;</td><td>The ID of the region to use as the clip mask, or 0 for none. </td></tr>  </table></dl>    </td>  </tr></table><a name="a4" doxytag="nano-X.h::GrSubtractRegion"></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 GrSubtractRegion </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">GR_REGION_ID&nbsp;</td>          <td class="mdname" nowrap> <em>dst_rgn</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_REGION_ID&nbsp;</td>          <td class="mdname" nowrap> <em>src_rgn1</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_REGION_ID&nbsp;</td>          <td class="mdname" nowrap> <em>src_rgn2</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>Subtracts the second source region from the first source region and places the result in the specified destination region.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>dst_rgn</em>&nbsp;</td><td>The ID of the destination region. </td></tr>    <tr><td valign=top><em>src_rgn1</em>&nbsp;</td><td>The ID of the first source region. </td></tr>    <tr><td valign=top><em>src_rgn2</em>&nbsp;</td><td>The ID of the second source region. </td></tr>  </table></dl>    </td>  </tr></table><a name="a2" doxytag="nano-X.h::GrUnionRectWithRegion"></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 GrUnionRectWithRegion </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">GR_REGION_ID&nbsp;</td>          <td class="mdname" nowrap> <em>region</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="structGR__RECT.html">GR_RECT</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>rect</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>Makes a union of the specified region and the specified rectangle.<p>Places the result back in the source region.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>region</em>&nbsp;</td><td>The ID of the region to modify. </td></tr>    <tr><td valign=top><em>rect</em>&nbsp;</td><td>A pointer to the rectangle to add to the region. </td></tr>  </table></dl>    </td>  </tr></table><a name="a3" doxytag="nano-X.h::GrUnionRegion"></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 GrUnionRegion </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">GR_REGION_ID&nbsp;</td>          <td class="mdname" nowrap> <em>dst_rgn</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_REGION_ID&nbsp;</td>          <td class="mdname" nowrap> <em>src_rgn1</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_REGION_ID&nbsp;</td>          <td class="mdname" nowrap> <em>src_rgn2</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>Makes a union of two regions.<p>Places the result in the specified destination region.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>dst_rgn</em>&nbsp;</td><td>The ID of the destination region. </td></tr>    <tr><td valign=top><em>src_rgn1</em>&nbsp;</td><td>The ID of the first source region. </td></tr>    <tr><td valign=top><em>src_rgn2</em>&nbsp;</td><td>The ID of the second source region. </td></tr>  </table></dl>    </td>  </tr></table><a name="a5" doxytag="nano-X.h::GrXorRegion"></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 GrXorRegion </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">GR_REGION_ID&nbsp;</td>          <td class="mdname" nowrap> <em>dst_rgn</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_REGION_ID&nbsp;</td>          <td class="mdname" nowrap> <em>src_rgn1</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>GR_REGION_ID&nbsp;</td>          <td class="mdname" nowrap> <em>src_rgn2</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>Performs a logical exclusive OR operation on the specified source regions and places the result in the destination region.<p>The destination region will contain only the parts of the source regions which do not overlap.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>dst_rgn</em>&nbsp;</td><td>The ID of the destination region. </td></tr>    <tr><td valign=top><em>src_rgn1</em>&nbsp;</td><td>The ID of the first source region. </td></tr>    <tr><td valign=top><em>src_rgn2</em>&nbsp;</td><td>The ID of the second source region. </td></tr>  </table></dl>    </td>  </tr></table><hr><address style="align: right;"><small>Generated on Sun May 18 21:03:07 2003 for Microwindows Nano-X API by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3 </small></address></body></html>

⌨️ 快捷键说明

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