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

108 lines
3.4 KiB
HTML

<!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>Returns a new CairoContext object on the requested surface</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.cairo-create" class="refentry">
<div class="refnamediv">
<h1 class="refname">cairo_create</h1>
<p class="verinfo">(PECL cairo &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">cairo_create</span> &mdash; <span class="dc-title">Returns a new CairoContext object on the requested surface</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.cairo-create-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>cairo_create</strong></span>
( <span class="methodparam"><span class="type"><a href="class.cairosurface.html" class="type CairoSurface">CairoSurface</a></span> <code class="parameter">$surface</code></span>
) : <span class="type"><a href="class.cairocontext.html" class="type CairoContext">CairoContext</a></span></div>
<p class="para rdfs-comment">
The function description goes here.
</p>
<div class="warning"><strong class="warning">Warning</strong><p class="simpara">本函数还未编写文档,仅有参数列表。</p></div>
</div>
<div class="refsect1 parameters" id="refsect1-function.cairo-create-parameters">
<h3 class="title">参数</h3>
<p class="para">
<dl>
<dt>
<code class="parameter">surface</code></dt>
<dd>
<p class="para">
Description...
</p>
</dd>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.cairo-create-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
What is returned on success and failure
</p>
</div>
<div class="refsect1 errors" id="refsect1-function.cairo-create-errors">
<h3 class="title">错误/异常</h3>
<p class="para">
When does this function issue E_* level errors, and/or throw exceptions.
</p>
</div>
<div class="refsect1 examples" id="refsect1-function.cairo-create-examples">
<h3 class="title">范例</h3>
<p class="para">
<div class="example" id="example-3217">
<p><strong>Example #1 <span class="function"><strong>cairo_create()</strong></span> example</strong></p>
<div class="example-contents"><p>
Any text that describes the purpose of the example, or what
goes on in the example should be here.
</p></div>
<div class="example-contents">
<div class="phpcode"><pre><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br /></span><span style="color: #FF8000">/*&nbsp;...&nbsp;*/<br /><br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</pre></div>
</div>
<div class="example-contents"><p>以上例程的输出类似于:</p></div>
<div class="example-contents screen">
<div class="cdata"><pre>
...
</pre></div>
</div>
</div>
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.cairo-create-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><strong>related function name here()</strong></span></li>
</ul>
</p>
</div>
</div></div></div></body></html>