haiku/docs/userguide/zh_CN/applications/screenshot.html
2012-11-15 22:36:54 +01:00

118 lines
6.5 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<!--
*
* Copyright 2009-2010, Haiku. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Humdinger <humdingerb@gmail.com>
* Translators:
* Pengphei Han
*
-->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="robots" content="all" />
<title>屏幕截图</title>
<link rel="stylesheet" type="text/css" href="../../Haiku-doc.css" />
</head>
<body>
<div id="banner">
<div><span>用户指南</span></div>
</div>
<div class="nav">
<div class="inner">
<ul class="lang-menu">
<li class="now"><img src="../../images/flags/zh_CN.png" alt="" />  中文 [中文]</li>
<li><a href="../../fr/applications/screenshot.html"><img src="../../images/flags/fr.png" alt="" />Français</a></li>
<li><a href="../../de/applications/screenshot.html"><img src="../../images/flags/de.png" alt="" />Deutsch</a></li>
<li><a href="../../it/applications/screenshot.html"><img src="../../images/flags/it.png" alt="" />Italiano</a></li>
<li><a href="../../ru/applications/screenshot.html"><img src="../../images/flags/ru.png" alt="" />Русский</a></li>
<li><a href="../../es/applications/screenshot.html"><img src="../../images/flags/es.png" alt="" />Español</a></li>
<li><a href="../../sv_SE/applications/screenshot.html"><img src="../../images/flags/sv_SE.png" alt="" />Svenska</a></li>
<li><a href="../../jp/applications/screenshot.html"><img src="../../images/flags/jp.png" alt="" />日本語</a></li>
<li><a href="../../uk/applications/screenshot.html"><img src="../../images/flags/uk.png" alt="" />Українська</a></li>
<li><a href="../../pt_PT/applications/screenshot.html"><img src="../../images/flags/pt_PT.png" alt="" />Português</a></li>
<li><a href="../../fi/applications/screenshot.html"><img src="../../images/flags/fi.png" alt="" />Suomi</a></li>
<li><a href="../../sk/applications/screenshot.html"><img src="../../images/flags/sk.png" alt="" />Slovenčina</a></li>
<li><a href="../../hu/applications/screenshot.html"><img src="../../images/flags/hu.png" alt="" />Magyar</a></li>
<li><a href="../../pt_BR/applications/screenshot.html"><img src="../../images/flags/pt_BR.png" alt="" />Português (Brazil)</a></li>
<li><a href="../../en/applications/screenshot.html"><img src="../../images/flags/gb.png" alt="" />English</a></li>
</ul>
<span>
« <a href="poorman.html">PoorMan</a>
:: <a href="../applications.html#list-of-apps" class="uplink">应用程序</a>
:: <a href="showimage.html">Showimage</a> »
</span></div>
</div>
<div id="content">
<div>
<h2><img src="../../images/apps-images/screenshot-icon_64.png" alt="screenshot-icon_64.png" width="64" height="64" />屏幕截图</h2>
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
<tr><td>桌面栏:</td><td style="width:15px;"></td><td><span class="menu">应用程序</span></td></tr>
<tr><td>位置:</td><td></td><td><span class="path">/boot/system/apps/Screenshot</span><br />
<span class="path">/bin/screenshot</span></td></tr>
<tr><td>设置:</td><td></td><td><span class="path">~/config/settings/screenshot</span></td></tr>
</table>
<p><br /></p>
<p>您可以通过启动屏幕截图软件或者按下 <span class="key">PRINT</span> 键来进行屏幕截图。</p>
<p><img id="sreenshot" src="../images/apps-images/screenshot.png" alt="screenshot.png" /></p>
<p>在屏幕截图面板中,您可以在全屏截图和窗口截图之间进行切换,然后决定是否要在截图中包括窗口的边界和鼠标指针。您也可以在屏幕截图之前加入时间延迟。</p>
<p>在下面,您可以对文件名,格式和截图的位置,在您按下 <span class="button">Save</span>时,这些设置将会被使用。除了可以将文件保存到本地磁盘外,您也可以使用 <span class="button">Copy to clipboard</span> 将截图直接复制到其他的程序,或者开始 <span class="button">New screenshot</span></p>
<p>所有的设置在您下次进行屏幕截图的时候将会被记住,您需要激活下面的快捷键:</p>
<table summary="shortcuts" border="0" cellspacing="0" cellpadding="4">
<tr><td><span class="key">PRINT</span></td><td style="width:15px;"></td><td>零延迟屏幕截图,并且打开屏幕截图面板。</td></tr>
<tr><td class="onelinetop"><span class="key">SHIFT</span> <span class="key">PRINT</span></td><td></td><td>安静的执行屏幕截图(不打开截图面板),但是使用最近的设置。</td></tr>
<tr><td><span class="key">CTRL</span> <span class="key">PRINT</span></td><td></td><td>使用最近的设置进行屏幕截图,但是不保存为文件,而是保存到剪切板。</td></tr>
</table>
<h2>
<a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
终端屏幕截图</h2>
<p>在终端或者脚本中,可以使用 <span class="cli">screenshot</span> 命令行程序来进行屏幕截图。<br />
<span class="cli">screenshot --help</span> 可以显示常用的选项参数:</p>
<pre class="terminal">~&gt; screenshot --help
screenshot [OPTIONS] [FILE] Creates a bitmap of the current screen
FILE is the optional output path / filename used in silent mode. An exisiting
file with the same name will be overwritten without warning. If FILE is not
given the screenshot will be saved to a file with the default filename in the
user's home directory.
OPTIONS
-m, --mouse-pointer Include the mouse pointer
-b, --border Include the window border
-w, --window Capture the active window instead of the entire screen
-d, --delay=seconds Take screenshot after the specified delay [in seconds]
-s, --silent Saves the screenshot without showing the application
window
-f, --format=image Give the image format you like to save as
[bmp], [gif], [jpg], [png], [ppm], [tga], [tif]
-c, --clipboard Copies the screenshot to the system clipboard without
showing the application window
Note: OPTION -b, --border takes only effect when used with -w, --window
</pre>
</div>
</div>
<div class="nav">
<div class="inner"><span>
« <a href="poorman.html">PoorMan</a>
:: <a href="../applications.html#list-of-apps" class="uplink">应用程序</a>
:: <a href="showimage.html">Showimage</a> »
</span></div>
</div>
</body>
</html>