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

📄 group__draw__adv__2d__fns.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<hr><h2>Enumeration Type Documentation</h2><a class="anchor" name="ga25" doxytag="gdi.h::BrushType"></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">enum <a class="el" href="group__draw__adv__2d__fns.htm#ga25">BrushType</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>DC brush types. Solid: Tiled: Stippled: OpaqueStippled: <dl compact><dt><b>Enumeration values: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"><tr><td valign="top"><em><a class="anchor" name="gga25a454" doxytag="BT_SOLID"></a>BT_SOLID</em>&nbsp;</td><td>Draw with the current brush color. </td></tr><tr><td valign="top"><em><a class="anchor" name="gga25a455" doxytag="BT_TILED"></a>BT_TILED</em>&nbsp;</td><td>Draw with a tiled bitmap. </td></tr><tr><td valign="top"><em><a class="anchor" name="gga25a456" doxytag="BT_STIPPLED"></a>BT_STIPPLED</em>&nbsp;</td><td>Draw using the stipple bitmap. Pixels corresponding to bits in the stipple bitmap that are set will be drawn in the brush color; pixels corresponding to bits that are not set will be left untouched. </td></tr><tr><td valign="top"><em><a class="anchor" name="gga25a457" doxytag="BT_OPAQUE_STIPPLED"></a>BT_OPAQUE_STIPPLED</em>&nbsp;</td><td>Draw using the stipple bitmap. Pixels corresponding to bits in the stipple bitmap that are set will be drawn in the brush color; pixels corresponding to bits that are not set will be drawn with the background color. </td></tr></table></dl><p>Definition at line <a class="el" href="gdi_8h-source.htm#l03599">3599</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="ga22" doxytag="gdi.h::PenType"></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">enum <a class="el" href="group__draw__adv__2d__fns.htm#ga22">PenType</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>DC Line styles <dl compact><dt><b>Enumeration values: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"><tr><td valign="top"><em><a class="anchor" name="gga22a445" doxytag="PT_SOLID"></a>PT_SOLID</em>&nbsp;</td><td>The solid pen. We call the solid pen with zero wide as "zero pen". </td></tr><tr><td valign="top"><em><a class="anchor" name="gga22a446" doxytag="PT_ON_OFF_DASH"></a>PT_ON_OFF_DASH</em>&nbsp;</td><td>The on/off dash pen, even segments are drawn; odd segments are not drawn. </td></tr><tr><td valign="top"><em><a class="anchor" name="gga22a447" doxytag="PT_DOUBLE_DASH"></a>PT_DOUBLE_DASH</em>&nbsp;</td><td>The double dash pen, even segments are normally. Odd segments are drawn in the brush color if the brush type is BT_SOLID, or in the brush color masked by the stipple if the brush type is BT_STIPPLED. </td></tr></table></dl><p>Definition at line <a class="el" href="gdi_8h-source.htm#l03392">3392</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="ga23" doxytag="gdi.h::PTCapStyle"></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">enum <a class="el" href="group__draw__adv__2d__fns.htm#ga23">PTCapStyle</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>DC Line cap styles <dl compact><dt><b>Enumeration values: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"><tr><td valign="top"><em><a class="anchor" name="gga23a448" doxytag="PT_CAP_BUTT"></a>PT_CAP_BUTT</em>&nbsp;</td><td>The ends of the lines are drawn squared off and extending to the coordinates of the end point. </td></tr><tr><td valign="top"><em><a class="anchor" name="gga23a449" doxytag="PT_CAP_ROUND"></a>PT_CAP_ROUND</em>&nbsp;</td><td>The ends of the lines are drawn as semicircles with the diameter equal to the line width and centered at the end point. </td></tr><tr><td valign="top"><em><a class="anchor" name="gga23a450" doxytag="PT_CAP_PROJECTING"></a>PT_CAP_PROJECTING</em>&nbsp;</td><td>The ends of the lines are drawn squared off and extending half the width of the line beyond the end point. </td></tr></table></dl><p>Definition at line <a class="el" href="gdi_8h-source.htm#l03467">3467</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="ga24" doxytag="gdi.h::PTJoinStyle"></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">enum <a class="el" href="group__draw__adv__2d__fns.htm#ga24">PTJoinStyle</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>DC Line join styles <dl compact><dt><b>Enumeration values: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"><tr><td valign="top"><em><a class="anchor" name="gga24a451" doxytag="PT_JOIN_MITER"></a>PT_JOIN_MITER</em>&nbsp;</td><td>The sides of each line are extended to meet at an angle. </td></tr><tr><td valign="top"><em><a class="anchor" name="gga24a452" doxytag="PT_JOIN_ROUND"></a>PT_JOIN_ROUND</em>&nbsp;</td><td>The sides of the two lines are joined by a circular arc. </td></tr><tr><td valign="top"><em><a class="anchor" name="gga24a453" doxytag="PT_JOIN_BEVEL"></a>PT_JOIN_BEVEL</em>&nbsp;</td><td>The sides of the two lines are joined by a straight line which makes an equal angle with each line. </td></tr></table></dl><p>Definition at line <a class="el" href="gdi_8h-source.htm#l03518">3518</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="ga6" doxytag="gdi.h::ArcEx"></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 ArcEx           </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>width</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>height</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>ang1</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>ang2</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 an arc with the current pen in a DC. <p>This function draws an arc with the current pen in the DC <em>hdc</em>. The coordinates of the upper-left corner of the bounding rectanglecenter of the arc is <em></em>(x, y), the bounding box of the arc is <em>width</em> wide and <em>height</em> high, and the degree of start angle and end angle are <em>ang1</em> and <em>ang2</em> respectively.<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>The x coordinate of the left edge of the bounding rectangle. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>The y coordinate of the left edge of the bounding rectangle. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>width</em>&nbsp;</td><td>The width of the bounding box of the arc. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>height</em>&nbsp;</td><td>The height of the bounding box of the arc. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>ang1</em>&nbsp;</td><td>The start angle of the arc, relative to the 3 o'clock position, counter-clockwise, in 1/64ths of a degree. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>ang2</em>&nbsp;</td><td>The end angle of the arc, relative to angle1, in 1/64ths of a degree.</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__dc__attrs.htm">DC attribute operations</a> </dd></dl>    </td>  </tr></table><a class="anchor" name="ga7" doxytag="gdi.h::FillArcEx"></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 FillArcEx           </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>width</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>height</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>ang1</em>, </td>

⌨️ 快捷键说明

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