📄 group__nanox__draw.html
字号:
<td class="md" nowrap>unsigned long </td> <td class="mdname" nowrap> <em>op</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Copies the specified area of the specified size between the specified drawables at the specified positions using the specified graphics context and ROP codes.<p>0 is a sensible default ROP code in most cases.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>id</em> </td><td>the ID of the drawable to copy the area to </td></tr> <tr><td valign=top><em>gc</em> </td><td>the ID of the graphics context to use when copying the area </td></tr> <tr><td valign=top><em>x</em> </td><td>the X coordinate to copy the area to within the destination drawable </td></tr> <tr><td valign=top><em>y</em> </td><td>the Y coordinate to copy the area to within the destination drawable </td></tr> <tr><td valign=top><em>width</em> </td><td>the width of the area to copy </td></tr> <tr><td valign=top><em>height</em> </td><td>the height of the area to copy </td></tr> <tr><td valign=top><em>srcid</em> </td><td>the ID of the drawable to copy the area from </td></tr> <tr><td valign=top><em>srcx</em> </td><td>the X coordinate to copy the area from within the source drawable </td></tr> <tr><td valign=top><em>srcy</em> </td><td>the Y coordinate to copy the area from within the source drawable </td></tr> <tr><td valign=top><em>op</em> </td><td>the ROP codes to pass to the blitter when performing the copy </td></tr> </table></dl> </td> </tr></table><a name="a2" doxytag="nano-X.h::GrCopyGC"></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 GrCopyGC </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">GR_GC_ID </td> <td class="mdname1" valign="top" nowrap> <em>gc</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Creates a new graphics context structure and copies the settings from an already existing 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> </td><td>The already existing graphics context to copy the parameters from. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The ID of the newly created graphics context or 0 on error. </dd></dl> </td> </tr></table><a name="a3" doxytag="nano-X.h::GrDestroyGC"></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 GrDestroyGC </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">GR_GC_ID </td> <td class="mdname1" valign="top" nowrap> <em>gc</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Destroys a graphics context structure.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>gc</em> </td><td>the ID of the graphics context structure to destroy </td></tr> </table></dl> </td> </tr></table><a name="a27" doxytag="nano-X.h::GrDrawImageBits"></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 GrDrawImageBits </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">GR_DRAW_ID </td> <td class="mdname" nowrap> <em>id</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>GR_GC_ID </td> <td class="mdname" nowrap> <em>gc</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>GR_COORD </td> <td class="mdname" nowrap> <em>x</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>GR_COORD </td> <td class="mdname" nowrap> <em>y</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>GR_IMAGE_HDR * </td> <td class="mdname" nowrap> <em>pimage</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Draws the image contained in the specified image structure onto the specified drawable at the specified coordinates 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> </td><td>the ID of the drawable to draw the image onto </td></tr> <tr><td valign=top><em>gc</em> </td><td>the ID of the graphics context to use when drawing the image </td></tr> <tr><td valign=top><em>x</em> </td><td>the X coordinate to draw the image at relative to the drawable </td></tr> <tr><td valign=top><em>y</em> </td><td>the Y coordinate to draw the image at relative to the drawable </td></tr> <tr><td valign=top><em>pimage</em> </td><td>pointer to the image structure </td></tr> </table></dl> </td> </tr></table><a name="a22" doxytag="nano-X.h::GrEllipse"></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 GrEllipse </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">GR_DRAW_ID </td> <td class="mdname" nowrap> <em>id</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>GR_GC_ID </td> <td class="mdname" nowrap> <em>gc</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>GR_COORD </td> <td class="mdname" nowrap> <em>x</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>GR_COORD </td> <td class="mdname" nowrap> <em>y</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>GR_SIZE </td> <td class="mdname" nowrap> <em>rx</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>GR_SIZE </td> <td class="mdname" nowrap> <em>ry</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Draws the boundary of 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> </td><td>the ID of the drawable to draw the ellipse on </td></tr> <tr><td valign=top><em>gc</em> </td><td>the ID of the graphics context to use when drawing the ellipse </td></tr> <tr><td valign=top><em>x</em> </td><td>the X coordinate to draw the ellipse at relative to the drawable </td></tr> <tr><td valign=top><em>y</em> </td><td>the Y coordinate to draw the ellipse at relative to the drawable </td></tr> <tr><td valign=top><em>rx</em> </td><td>the radius of the ellipse on the X axis </td></tr> <tr><td valign=top><em>ry</em> </td><td>the radius of the ellipse on the Y axis </td></tr> </table></dl> </td> </tr></table><a name="a23" doxytag="nano-X.h::GrFillEllipse"></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 GrFillEllipse </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">GR_DRAW_ID </td> <td class="mdname" nowrap> <em>id</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>GR_GC_ID </td> <td class="mdname" nowrap> <em>gc</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>GR_COORD </td> <td class="mdname" nowrap> <em>x</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>GR_COORD </td> <td class="mdname" nowrap> <em>y</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>GR_SIZE </td> <td class="mdname" nowrap> <em>rx</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>GR_SIZE </td> <td class="mdname" nowrap> <em>ry</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -