📄 builder_course_105_1_gjbc.html
字号:
<font class="a"><li><a href="builder_course_105_3_GJBC.html" tppabs="http://www.chinabyte.com/staticpages/builder/builder_course/GJBC/builder_course_105_3_GJBC.html">显 示 的 方 法</a> ( 1998-01-27 )</font>
<font class="a"><li><a href="builder_course_105_4_GJBC.html" tppabs="http://www.chinabyte.com/staticpages/builder/builder_course/GJBC/builder_course_105_4_GJBC.html">彩 色 的 字</a> ( 1998-02-16 )</font>
</ul>
</td>
<td width="10" rowspan="3"><img src="../main/images/blank.gif" tppabs="http://www.chinabyte.com/images/blank.gif" border="0" width="10" height="1">
</td>
</tr>
<tr>
<td colspan="3" align="left" valign="top">
<hr>正 文:<br>
<font class="a"><center><b>放 在 哪 里 好 呢 ?</b></center><p align="right">作 者 : 清 华 大 学 教 授 : 王 克 宏<p><p> 要 在 屏 幕 上 绘 图 或 写 字 , 怎 样 才 能 把 它 们 放 在 制 定 的 位 置 呢 ? 可 想 而 知 , 在 绘 图 平 面 内 建 立 一 个 平 面 直 角 坐 标 系 , 通 过 二 维 坐 标 就 可 以 把 绘 图 位 置 表 达 清 楚 。
<p> 几 乎 所 有 的 计 算 机 都 采 用 了 相 同 的 坐 标 系 统 , 当 然 Java 也 不 例 外 。 坐 标 原 点 (0,0) 位 于 整 个 平 面 的 左 上 角 , 向 右 为 x 轴 , 向 下 为 y 轴 。 所 有 的 坐 标 都 必 须 是 正 整 数 , 一 个 单 位 代 表 一 个 象 素 。 坐 标 系 如 图 15.1 所 示 :
<br>
<img src="../images/java37.gif" tppabs="http://www.chinabyte.com/builder/images/java37.gif" WIDTH="258" HEIGHT="187"><br>
图 15.1 屏 幕 坐 标 示 意 图
<p> 弄 清 楚 了 坐 标 , 就 可 以 随 心 所 欲 地 把 文 字 和 图 形 放 在 屏 幕 上 了 。<p>
<center>
第1页
<a href="builder_course_105_2_GJBC.html" tppabs="http://www.chinabyte.com/staticpages/builder/builder_course/GJBC/builder_course_105_2_GJBC.html">第2页</a>
<a href="builder_course_105_3_GJBC.html" tppabs="http://www.chinabyte.com/staticpages/builder/builder_course/GJBC/builder_course_105_3_GJBC.html">第3页</a>
<a href="builder_course_105_4_GJBC.html" tppabs="http://www.chinabyte.com/staticpages/builder/builder_course/GJBC/builder_course_105_4_GJBC.html">第4页</a>
<a href="builder_course_105_2_GJBC.html" tppabs="http://www.chinabyte.com/staticpages/builder/builder_course/GJBC/builder_course_105_2_GJBC.html">下一页</a>
</center>
<p><hr>
</td>
</tr>
<tr>
<td width="400" align="left" valign="top"><br>
<b>参 考 文 章 : </b><br>
<font class="a">1. <a href="builder_course_112_1_GJBC.html" tppabs="http://www.chinabyte.com/staticpages/builder/builder_course/GJBC/builder_course_112_1_GJBC.html">Java应 用 教 程 (八 )—— 例 外 处 理</a> ( 1998-09-02 )</font><br>
<font class="a">2. <a href="builder_course_111_1_GJBC.html" tppabs="http://www.chinabyte.com/staticpages/builder/builder_course/GJBC/builder_course_111_1_GJBC.html">Java应 用 教 程 (七 )—— Java的 网 络 功 能</a> ( 1998-08-03 )</font><br>
<font class="a">3. <a href="builder_course_110_1_GJBC.html" tppabs="http://www.chinabyte.com/staticpages/builder/builder_course/GJBC/builder_course_110_1_GJBC.html">Java应 用 教 程 (六 )—— 终 于 动 起 来 了</a> ( 1998-07-03 )</font><br>
<font class="a">4. <a href="builder_course_109_1_GJBC.html" tppabs="http://www.chinabyte.com/staticpages/builder/builder_course/GJBC/builder_course_109_1_GJBC.html">Java应 用 教 程 (五 )—— 交 互 的 Java世 界</a> ( 1998-05-08 )</font><br>
<font class="a">5. <a href="builder_course_108_1_GJBC.html" tppabs="http://www.chinabyte.com/staticpages/builder/builder_course/GJBC/builder_course_108_1_GJBC.html">Java应 用 教 程 (四 )—— 五 彩 缤 纷 的 世 界</a> ( 1998-03-11 )</font><br>
<font class="a">6. <a href="builder_course_104_1_GJBC.html" tppabs="http://www.chinabyte.com/staticpages/builder/builder_course/GJBC/builder_course_104_1_GJBC.html">Java应 用 教 程 (二 )—— 巧 手 木 匠</a> ( 1997-12-16 )</font><br>
<font class="a">7. <a href="builder_course_100_1_GJBC.html" tppabs="http://www.chinabyte.com/staticpages/builder/builder_course/GJBC/builder_course_100_1_GJBC.html">Java应 用 教 程 (一)——美 丽 的 窗 口</a> ( 1997-11-04 )</font><br>
</td>
<td width="20"><img src="../main/images/blank.gif" tppabs="http://www.chinabyte.com/images/blank.gif" border="0" width="20" height="1">
</td>
<td width="204" align="left" valign="top"><br>
<font class="a">
如 果 您 认 为 这 篇 文 章 还 不 错 , 欢 迎 您 向 其 他 读 者 推 荐 ; 如 果 您 认 为 这 篇 文 章 水 平 太 差 , 欢 迎 您 <a href="mailto:buildermaster@chinabyte.com">发 表 高 见</a> 。</font>
</td>
</tr>
</table>
<p>
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#980018">
<tr>
<td bgcolor="ffffff"><img src="../main/images/b_left.gif" tppabs="http://www.chinabyte.com/images/b_left.gif" border="0" WIDTH="19" HEIGHT="27"></td>
<td>
<a href="../tppmsgs/msgs2.htm#250" tppabs="http://www.chinabyte.com/staticpages/feedback/feedback_home/feedback/feedback_home_1.html" onMouseOver="window.status = '服务台'; return true "><img src="../main/images/99feedback.gif" tppabs="http://www.chinabyte.com/images/99feedback.gif" border="0" alt="服务台" WIDTH="39" HEIGHT="27"></a><img src="../main/images/b_1.gif" tppabs="http://www.chinabyte.com/images/b_1.gif" WIDTH="10" HEIGHT="27"><img src="../main/images/b_2.gif" tppabs="http://www.chinabyte.com/images/b_2.gif" WIDTH="11" HEIGHT="27"></td>
<td>
<a href="../tppmsgs/msgs2.htm#251" tppabs="http://www.chinabyte.com/staticpages/siteinfo/siteinfo_mapind/siteinfo/siteinfo_mapind_1.html" onMouseOver="window.status = '站导图'; return true "><img src="../main/images/99site.gif" tppabs="http://www.chinabyte.com/images/99site.gif" border="0" alt="站导图" WIDTH="38" HEIGHT="27"></a><img src="../main/images/b_1.gif" tppabs="http://www.chinabyte.com/images/b_1.gif" WIDTH="10" HEIGHT="27"><img src="../main/images/b_2.gif" tppabs="http://www.chinabyte.com/images/b_2.gif" WIDTH="11" HEIGHT="27"></td>
<td>
<a href="../tppmsgs/msgs2.htm#252" tppabs="http://www.chinabyte.com/feedback/about_chinabyte.html" onMouseOver="window.status = '关于本站'; return true "><img src="../main/images/99about.gif" tppabs="http://www.chinabyte.com/images/99about.gif" border="0" alt="关于本站" WIDTH="52" HEIGHT="27"></a><img src="../main/images/b_1.gif" tppabs="http://www.chinabyte.com/images/b_1.gif" WIDTH="10" HEIGHT="27"><img src="../main/images/b_2.gif" tppabs="http://www.chinabyte.com/images/b_2.gif" WIDTH="11" HEIGHT="27"></td>
<td width="131" bgcolor="#980018"><img src="../main/images/blank.gif" tppabs="http://www.chinabyte.com/images/blank.gif" border="0" width="1" height="1"></td>
<td><a HREF="../tppmsgs/msgs2.htm#200" tppabs="http://www.chinabyte.com/staticpages/digest/digest_home/digest/digest_home_1.html" onMouseOver="window.status = '及时传送IT产业新闻'; return true" target="_top"><img src="../main/images/99news.gif" tppabs="http://www.chinabyte.com/images/99news.gif" border="0" alt="新闻总线" WIDTH="53" HEIGHT="27"></a><img src="../main/images/b_1.gif" tppabs="http://www.chinabyte.com/images/b_1.gif" WIDTH="10" HEIGHT="27"><img src="../main/images/b_2.gif" tppabs="http://www.chinabyte.com/images/b_2.gif" WIDTH="11" HEIGHT="27"></td>
<td><a HREF="../tppmsgs/msgs2.htm#202" tppabs="http://www.chinabyte.com/staticpages/software/software_home/software/software_home_1.html" onMouseOver="window.status = '漫步免费软件仓库'; return true" target="_top"><img src="../main/images/99soft.gif" tppabs="http://www.chinabyte.com/images/99soft.gif" border="0" alt="软件仓库" WIDTH="52" HEIGHT="27"></a><img src="../main/images/b_1.gif" tppabs="http://www.chinabyte.com/images/b_1.gif" WIDTH="10" HEIGHT="27"><img src="../main/images/b_2.gif" tppabs="http://www.chinabyte.com/images/b_2.gif" WIDTH="11" HEIGHT="27"></td>
<td><a HREF="../tppmsgs/msgs2.htm#204" tppabs="http://www.chinabyte.com/staticpages/builder/builder_home/builder/builder_home_1.html" onMouseOver="window.status = '在线专业培训'; return true" target="_top"><img src="../main/images/99_builder.gif" tppabs="http://www.chinabyte.com/images/99_builder.gif" border="0" alt="网络学院" WIDTH="52" HEIGHT="27"></a><img src="../main/images/b_1.gif" tppabs="http://www.chinabyte.com/images/b_1.gif" WIDTH="10" HEIGHT="27"><img src="../main/images/b_2.gif" tppabs="http://www.chinabyte.com/images/b_2.gif" WIDTH="11" HEIGHT="27"></td>
<td><a HREF="../tppmsgs/msgs2.htm#213" tppabs="http://www.chinabyte.com/staticpages/gamecen/gamecen_home/gamecen/gamecen_home_1.html" onMouseOver="window.status = '游戏玩家的乐园'; return true" target="_top"><img src="../main/images/99game.gif" tppabs="http://www.chinabyte.com/images/99game.gif" border="0" alt="游戏天堂" WIDTH="52" HEIGHT="27"></a><img src="../main/images/b_1.gif" tppabs="http://www.chinabyte.com/images/b_1.gif" WIDTH="10" HEIGHT="27"><img src="../main/images/b_2.gif" tppabs="http://www.chinabyte.com/images/b_2.gif" WIDTH="11" HEIGHT="27"></td>
<td><a HREF="../tppmsgs/msgs2.htm#214" tppabs="http://www.chinabyte.com/staticpages/digital/digital_home/digital/digital_home_1.html" onMouseOver="window.status = '数字世界'; return true" target="_top"><img src="../main/images/99digital.gif" tppabs="http://www.chinabyte.com/images/99digital.gif" border="0" alt="数字世界" WIDTH="53" HEIGHT="27"></a><img src="../main/images/b_1.gif" tppabs="http://www.chinabyte.com/images/b_1.gif" WIDTH="10" HEIGHT="27"><img src="../main/images/b_2.gif" tppabs="http://www.chinabyte.com/images/b_2.gif" WIDTH="11" HEIGHT="27"></td>
<td width="30"><img src="../main/images/blank.gif" tppabs="http://www.chinabyte.com/images/blank.gif" border="0" width="1" height="1"></td>
</tr>
</table>
<center><table>
<tr>
<td align="center"><br><font size="-2">
<b>ChinaByte</b>版 权 所 有, 未 经 授 权 禁 止 复 制 或 建 立 镜 像。<br>
如 果 您 有 什 么 问 题, 请 发 <a href="mailto:webmaster@chinabyte.com">电 子 邮 件</a> 给 我 们。 谢 谢! </font>
</td>
</tr>
</table></center>
<!--msnavigation--></td></tr><!--msnavigation--></table></body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -