uTools-Manuals/docs/php/imageaffine.html
2019-04-08 23:22:26 +08:00

80 lines
2.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>返回经过仿射变换后的图像,剪切区域可选</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.imageaffine" class="refentry">
<div class="refnamediv">
<h1 class="refname">imageaffine</h1>
<p class="verinfo">(PHP 5 &gt;= 5.5.0, PHP 7)</p><p class="refpurpose"><span class="refname">imageaffine</span> &mdash; <span class="dc-title">返回经过仿射变换后的图像,剪切区域可选</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.imageaffine-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>imageaffine</strong></span>
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$image</code></span>
, <span class="methodparam"><span class="type">array</span> <code class="parameter">$affine</code></span>
[, <span class="methodparam"><span class="type">array</span> <code class="parameter">$clip</code></span>
] ) : <span class="type">resource</span></div>
<p class="para rdfs-comment">
</p>
<div class="warning"><strong class="warning">Warning</strong><p class="simpara">本函数还未编写文档,仅有参数列表。</p></div>
</div>
<div class="refsect1 parameters" id="refsect1-function.imageaffine-parameters">
<h3 class="title">参数</h3>
<dl>
<dt>
<code class="parameter">image</code></dt>
<dd>
<p class="para">由图象创建函数(例如<span class="function"><a href="imagecreatetruecolor.html" class="function">imagecreatetruecolor()</a></span>)返回的图象资源。</p></dd>
<dt>
<code class="parameter">affine</code></dt>
<dd>
<p class="para">
数组,其中键为 0 至 5 的数字。
</p>
</dd>
<dt>
<code class="parameter">clip</code></dt>
<dd>
<p class="para">
数组,其中键为 &quot;x&quot;&quot;y&quot;&quot;width&quot;&quot;height&quot;
</p>
</dd>
</dl>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.imageaffine-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
成功则返回仿射变换后的图像, 或者在失败时返回 <strong><code>FALSE</code></strong>.
</p>
</div>
</div></div></div></body></html>