mvderwin.html

来自「unix 下的C开发手册,还用详细的例程。」· HTML 代码 · 共 67 行

HTML
67
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>mvderwin</title></head><body bgcolor=white><center><font size=2>The Single UNIX &reg; Specification, Version 2<br>Copyright &copy; 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_001_009_169">&nbsp;</a>NAME</h4><blockquote>mvderwin - define window coordinate transformation</blockquote><h4><a name = "tag_001_009_170">&nbsp;</a>SYNOPSIS</h4><blockquote><pre><code>#include &lt;<a href="curses.h.html">curses.h</a>&gt;int mvderwin(WINDOW *<i>win</i>, int <i>par_y</i>, int <i>par_x</i>);</code></pre></blockquote><h4><a name = "tag_001_009_171">&nbsp;</a>DESCRIPTION</h4><blockquote>The<i>mvderwin()</i>function specifies a mapping of characters.  The function identifiesa mapped area of the parent of the specified window, whose size is the same asthe size of the specified window and whose origin isat (<i>par_y</i>, <i>par_x</i>) of the parent window.<ul><p><li>During any refresh of the specified window, the characters displayed in thatwindow's display area of the terminal are taken from the mapped area.<p><li>Any references to characters in the specified window obtain or modifycharacters in the mapped area.<p></ul><p>That is,<i>mvderwin()</i>defines a coordinate transformation from each position in the mapped area to acorresponding position (same <i>y</i>, <i>x</i> offset from the origin) inthe specified window.</blockquote><h4><a name = "tag_001_009_172">&nbsp;</a>RETURN VALUE</h4><blockquote>Upon successful completion,<i>mvderwin()</i>returns OK.  Otherwise, it returns ERR.</blockquote><h4><a name = "tag_001_009_173">&nbsp;</a>ERRORS</h4><blockquote>No errors are defined.</blockquote><h4><a name = "tag_001_009_174">&nbsp;</a>SEE ALSO</h4><blockquote><i><a href="derwin.html">derwin()</a></i>,<i><a href="doupdate.html">doupdate()</a></i>,<i><a href="dupwin.html">dupwin()</a></i>,<i><a href="curses.h.html">&lt;curses.h&gt;</a></i>.</blockquote><hr size=2 noshade><center><font size=2>UNIX &reg; is a registered Trademark of The Open Group.<br>Copyright &copy; 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>

⌨️ 快捷键说明

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