mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Some additional cleanup for cairo class, init methods for matrix documented, add scale method back in (we only wanted to remove the scale function file)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289228 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
b3808ede9d
commit
babd60fe0f
20 changed files with 278 additions and 753 deletions
|
@ -12,7 +12,7 @@
|
|||
<section xml:id="cairo.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
Description of the class.
|
||||
Simple class with some static helper methods.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<refnamediv>
|
||||
<refname>Cairo::availableFonts</refname>
|
||||
<refname>cairo_available_fonts</refname>
|
||||
<refpurpose>Retrives the availables font types</refpurpose>
|
||||
<refpurpose>Retrieves the availables font types</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
<para>Object oriented style (method):</para>
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <modifier>static</modifier> <type>void</type><methodname>Cairo::statusToString</methodname>
|
||||
<methodparam><type>string</type><parameter>status</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>status</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>Procedural style:</para>
|
||||
<methodsynopsis>
|
||||
<type>ReturnType</type><methodname>cairo_status_to_string</methodname>
|
||||
<methodparam><type>string</type><parameter>status</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>status</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Retrieves the current status as a readable string
|
||||
|
@ -100,7 +100,6 @@ string(7) "success"
|
|||
<para>
|
||||
<simplelist>
|
||||
<member><methodname>CairoContext::status</methodname></member>
|
||||
<member><function>cairo_status</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -83,7 +83,6 @@ int(10808)
|
|||
<para>
|
||||
<simplelist>
|
||||
<member><methodname>Cairo::versionString</methodname></member>
|
||||
<member><function>cairo_version_string</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -87,7 +87,6 @@ string(5) "1.8.8"
|
|||
<para>
|
||||
<simplelist>
|
||||
<member><methodname>Cairo::version</methodname></member>
|
||||
<member><function>cairo_version</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<section xml:id="cairomatrix.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
Description of the class.
|
||||
Matrices are used throughout cairo to convert between different coordinate spaces.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<refentry xml:id="cairomatrix.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>CairoPattern::__construct</refname>
|
||||
<refname>CairoMatrix::__construct</refname>
|
||||
<refname>cairo_matrix_init</refname>
|
||||
<refpurpose>Creates a new CairoMatrix object</refpurpose>
|
||||
</refnamediv>
|
||||
|
@ -22,7 +22,7 @@
|
|||
</methodsynopsis>
|
||||
<para>Procedural style:</para>
|
||||
<methodsynopsis>
|
||||
<type>ReturnType</type><methodname>cairo_matrix_init</methodname>
|
||||
<type>object</type><methodname>cairo_matrix_init</methodname>
|
||||
<methodparam choice="opt"><type>float</type><parameter>xx</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>float</type><parameter>yx</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>float</type><parameter>xy</parameter></methodparam>
|
||||
|
|
|
@ -4,21 +4,28 @@
|
|||
<refentry xml:id="cairomatrix.initidentity" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>CairoMatrix::initIdentity</refname>
|
||||
<refpurpose>The initIdentity purpose</refpurpose>
|
||||
<refname>cairo_matrix_init_identity</refname>
|
||||
<refpurpose>Creates a new identity matrix</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>Object oriented style (method):</para>
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <modifier>static</modifier> <type>void</type><methodname>CairoMatrix::initIdentity</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>Procedural style:</para>
|
||||
<methodsynopsis>
|
||||
<type>object</type><methodname>cairo_matrix_init_identity</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
The method description goes here.
|
||||
Creates a new matrix that is an identity transformation. An identity
|
||||
transformation means the source data is copied into the destination data
|
||||
without change
|
||||
</para>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
|
@ -29,7 +36,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Description...
|
||||
Returns a new CairoMatrix object that can be used with surfaces, contexts, and patterns.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -37,20 +44,28 @@
|
|||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><methodname>CairoMatrix::initIdentity</methodname> example</title>
|
||||
<title>Object oriented style</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
/* ... */
|
||||
/* Create a new Matrix */
|
||||
$matrix = CairoMatrix::initIdentity();
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Procedural style</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
...
|
||||
<?php
|
||||
/* Create a new Matrix */
|
||||
$matrix = cairo_matrix_init_identity();
|
||||
?>
|
||||
]]>
|
||||
</screen>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -59,7 +74,10 @@
|
|||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><methodname>Classname::Method</methodname></member>
|
||||
<member><methodname>CairoMatrix::__construct</methodname></member>
|
||||
<member><methodname>CairoMatrix::initRotate</methodname></member>
|
||||
<member><methodname>CairoMatrix::initScale</methodname></member>
|
||||
<member><methodname>CairoMatrix::initTranslate</methodname></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -4,21 +4,26 @@
|
|||
<refentry xml:id="cairomatrix.initrotate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>CairoMatrix::initRotate</refname>
|
||||
<refpurpose>The initRotate purpose</refpurpose>
|
||||
<refname>cairo_matrix_init_rotate</refname>
|
||||
<refpurpose>Creates a new rotated matrix</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>Object oriented style (method):</para>
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <modifier>static</modifier> <type>void</type><methodname>CairoMatrix::initRotate</methodname>
|
||||
<methodparam><type>string</type><parameter>radians</parameter></methodparam>
|
||||
<methodparam><type>float</type><parameter>radians</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>Procedural style:</para>
|
||||
<methodsynopsis>
|
||||
<type>object</type><methodname>cairo_matrix_init_rotate</methodname>
|
||||
<methodparam><type>float</type><parameter>radians</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
The method description goes here.
|
||||
Creats a new matrix to a transformation that rotates by radians provided
|
||||
</para>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
|
@ -29,7 +34,10 @@
|
|||
<term><parameter>radians</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Description...
|
||||
angle of rotation, in radians. The direction of rotation is defined such
|
||||
that positive angles rotate in the direction from the positive X axis
|
||||
toward the positive Y axis. With the default axis orientation of cairo,
|
||||
positive angles rotate in a clockwise direction.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -40,7 +48,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Description...
|
||||
Returns a new CairoMatrix object that can be used with surfaces, contexts, and patterns.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -48,20 +56,28 @@
|
|||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><methodname>CairoMatrix::initRotate</methodname> example</title>
|
||||
<title>Object oriented style</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
/* ... */
|
||||
/* Create a new Matrix */
|
||||
$matrix = CairoMatrix::initRotate(0.3);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Procedural style</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
...
|
||||
<?php
|
||||
/* Create a new Matrix */
|
||||
$matrix = cairo_matrix_init_rotate(0.3);
|
||||
?>
|
||||
]]>
|
||||
</screen>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -70,7 +86,10 @@
|
|||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><methodname>Classname::Method</methodname></member>
|
||||
<member><methodname>CairoMatrix::__construct</methodname></member>
|
||||
<member><methodname>CairoMatrix::initIdentity</methodname></member>
|
||||
<member><methodname>CairoMatrix::initScale</methodname></member>
|
||||
<member><methodname>CairoMatrix::initTranslate</methodname></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -4,24 +4,32 @@
|
|||
<refentry xml:id="cairomatrix.initscale" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>CairoMatrix::initScale</refname>
|
||||
<refpurpose>The initScale purpose</refpurpose>
|
||||
<refname>cairo_matrix_init_scale</refname>
|
||||
<refname>cairo_matrix_create_scale</refname>
|
||||
<refpurpose>Creates a new scaling matrix</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>Object oriented style (method):</para>
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <modifier>static</modifier> <type>void</type><methodname>CairoMatrix::initScale</methodname>
|
||||
<methodparam><type>string</type><parameter>sx</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>sy</parameter></methodparam>
|
||||
<methodparam><type>float</type><parameter>sx</parameter></methodparam>
|
||||
<methodparam><type>float</type><parameter>sy</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>Procedural style:</para>
|
||||
<methodsynopsis>
|
||||
<type>object</type><methodname>cairo_matrix_init_scale</methodname>
|
||||
<methodparam><type>float</type><parameter>sx</parameter></methodparam>
|
||||
<methodparam><type>float</type><parameter>sy</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
The method description goes here.
|
||||
Creates a new matrix to a transformation that scales by sx and sy in the X
|
||||
and Y dimensions, respectively.
|
||||
</para>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
|
@ -30,7 +38,7 @@
|
|||
<term><parameter>sx</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Description...
|
||||
scale factor in the X direction
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -38,7 +46,7 @@
|
|||
<term><parameter>sy</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Description...
|
||||
scale factor in the Y direction
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -49,7 +57,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Description...
|
||||
Returns a new CairoMatrix object that can be used with surfaces, contexts, and patterns.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -57,20 +65,28 @@
|
|||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><methodname>CairoMatrix::initScale</methodname> example</title>
|
||||
<title>Object oriented style</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
/* ... */
|
||||
/* Create a new Matrix */
|
||||
$matrix = CairoMatrix::initScale(1.0, 2.0);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Procedural style</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
...
|
||||
<?php
|
||||
/* Create a new Matrix */
|
||||
$matrix = cairo_matrix_init_scale(1.0, 2.0);
|
||||
?>
|
||||
]]>
|
||||
</screen>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -79,7 +95,10 @@
|
|||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><methodname>Classname::Method</methodname></member>
|
||||
<member><methodname>CairoMatrix::__construct</methodname></member>
|
||||
<member><methodname>CairoMatrix::initIdentity</methodname></member>
|
||||
<member><methodname>CairoMatrix::initRotate</methodname></member>
|
||||
<member><methodname>CairoMatrix::initTranslate</methodname></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -4,22 +4,29 @@
|
|||
<refentry xml:id="cairomatrix.inittranslate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>CairoMatrix::initTranslate</refname>
|
||||
<refpurpose>The initTranslate purpose</refpurpose>
|
||||
<refname>cairo_matrix_init_translate</refname>
|
||||
<refpurpose>Creates a new translation matrix</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>Object oriented style (method):</para>
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <modifier>static</modifier> <type>void</type><methodname>CairoMatrix::initTranslate</methodname>
|
||||
<methodparam><type>string</type><parameter>tx</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>ty</parameter></methodparam>
|
||||
<methodparam><type>float</type><parameter>tx</parameter></methodparam>
|
||||
<methodparam><type>float</type><parameter>ty</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>Procedural style:</para>
|
||||
<methodsynopsis>
|
||||
<type>object</type><methodname>cairo_matrix_init_translate</methodname>
|
||||
<methodparam><type>float</type><parameter>tx</parameter></methodparam>
|
||||
<methodparam><type>float</type><parameter>ty</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
The method description goes here.
|
||||
Creates a new matrix to a transformation that translates by tx and ty in the X
|
||||
and Y dimensions, respectively.
|
||||
</para>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
|
@ -30,7 +37,7 @@
|
|||
<term><parameter>tx</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Description...
|
||||
amount to translate in the X direction
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -38,7 +45,7 @@
|
|||
<term><parameter>ty</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Description...
|
||||
amount to translate in the Y direction
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -49,7 +56,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Description...
|
||||
Returns a new CairoMatrix object that can be used with surfaces, contexts, and patterns.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -57,20 +64,28 @@
|
|||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><methodname>CairoMatrix::initTranslate</methodname> example</title>
|
||||
<title>Object oriented style</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
/* ... */
|
||||
/* Create a new Matrix */
|
||||
$matrix = CairoMatrix::initTranslate(1.0, 2.0);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Procedural style</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
...
|
||||
<?php
|
||||
/* Create a new Matrix */
|
||||
$matrix = cairo_matrix_init_translate(1.0, 2.0);
|
||||
?>
|
||||
]]>
|
||||
</screen>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -79,7 +94,10 @@
|
|||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><methodname>Classname::Method</methodname></member>
|
||||
<member><methodname>CairoMatrix::__construct</methodname></member>
|
||||
<member><methodname>CairoMatrix::initIdentity</methodname></member>
|
||||
<member><methodname>CairoMatrix::initRotate</methodname></member>
|
||||
<member><methodname>CairoMatrix::initScale</methodname></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
126
reference/cairo/cairomatrix/scale.xml
Normal file
126
reference/cairo/cairomatrix/scale.xml
Normal file
|
@ -0,0 +1,126 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: $ -->
|
||||
|
||||
<refentry xml:id="cairomatrix.scale" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>CairoMatrix::scale</refname>
|
||||
<refname>cairo_matrix_scale</refname>
|
||||
<refpurpose>Applies scaling to a matrix</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>Object oriented style (method):</para>
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <type>void</type><methodname>CairoMatrix::scale</methodname>
|
||||
<methodparam><type>float</type><parameter>sx</parameter></methodparam>
|
||||
<methodparam><type>float</type><parameter>sy</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>Procedural style:</para>
|
||||
<methodsynopsis>
|
||||
<type>void</type><methodname>cairo_matrix_scale</methodname>
|
||||
<methodparam><type>CairoContext</type><parameter>context</parameter></methodparam>
|
||||
<methodparam><type>float</type><parameter>sx</parameter></methodparam>
|
||||
<methodparam><type>float</type><parameter>sy</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Applies scaling by sx, sy to the transformation in the matrix. The effect of
|
||||
the new transformation is to first scale the coordinates by sx and sy, then
|
||||
apply the original transformation to the coordinates.
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>matrix</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Procedural only - CairoMatrix instance
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>sx</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
scale factor in the X direction
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>sy</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
scale factor in the Y direction
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Object oriented style</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
/* Apply scaling to a matrix */
|
||||
$matrix = new CairoMatrix(1.0, 0.5, 0.0, 1.0, 0.0, 0.0);
|
||||
$matrix->scale(0.2, 2.0);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Procedural style</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
/* Apply scaling to a matrix */
|
||||
$matrix = cairo_matrix_init(1.0, 0.5, 0.0, 1.0, 0.0, 0.0);
|
||||
cairo_matrix_scale($matrix, 0.2, 2.0);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><methodname>CairoMatrix::initScale</methodname></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"../../../../manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
|
@ -1,39 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: $ -->
|
||||
|
||||
<section xml:id="cairo.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.install;
|
||||
|
||||
<para>
|
||||
&pecl.info;
|
||||
<link xlink:href="&url.pecl.package;cairo">&url.pecl.package;cairo</link>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The latest PECL/cairo Win32 DLL is available here:
|
||||
<link xlink:href="&url.pecl.win.ext;php_cairo.dll">php_cairo.dll</link>
|
||||
</para>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"../../../manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
|
@ -4,98 +4,16 @@
|
|||
<refentry xml:id="function.cairo-matrix-create-scale" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_create_scale</refname>
|
||||
<refpurpose>Description</refpurpose>
|
||||
<refpurpose>&Alias; <methodname>CairoMatrix::initScale</methodname></refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>ReturnType</type><methodname>cairo_matrix_create_scale</methodname>
|
||||
<methodparam><type>string</type><parameter>sx</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>sy</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
The function description goes here.
|
||||
</para>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>sx</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Description...
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>sy</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Description...
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<!-- See also &return.success; -->
|
||||
<para>
|
||||
What is returned on success and failure
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
When does this function issue E_* level errors, and/or throw exceptions.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>cairo_matrix_create_scale</function> example</title>
|
||||
<para>
|
||||
Any text that describes the purpose of the example, or what
|
||||
goes on in the example should be here.
|
||||
</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
/* ... */
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
...
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>related function name here</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simpara>
|
||||
&info.function.alias;
|
||||
<methodname>CairoMatrix::initScale</methodname>.
|
||||
</simpara>
|
||||
&info.function.alias.deprecated;
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
|
|
@ -4,98 +4,16 @@
|
|||
<refentry xml:id="function.cairo-matrix-create-translate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_create_translate</refname>
|
||||
<refpurpose>Description</refpurpose>
|
||||
<refpurpose>&Alias; <methodname>CairoMatrix::initTranslate</methodname></refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>ReturnType</type><methodname>cairo_matrix_create_translate</methodname>
|
||||
<methodparam><type>string</type><parameter>tx</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>ty</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
The function description goes here.
|
||||
</para>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>tx</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Description...
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>ty</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Description...
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<!-- See also &return.success; -->
|
||||
<para>
|
||||
What is returned on success and failure
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
When does this function issue E_* level errors, and/or throw exceptions.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>cairo_matrix_create_translate</function> example</title>
|
||||
<para>
|
||||
Any text that describes the purpose of the example, or what
|
||||
goes on in the example should be here.
|
||||
</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
/* ... */
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
...
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>related function name here</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simpara>
|
||||
&info.function.alias;
|
||||
<methodname>CairoMatrix::initTranslate</methodname>.
|
||||
</simpara>
|
||||
&info.function.alias.deprecated;
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
|
|
@ -1,102 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: $ -->
|
||||
|
||||
<refentry xml:id="function.cairo-matrix-init-identity" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_init_identity</refname>
|
||||
<refpurpose>Description</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>ReturnType</type><methodname>cairo_matrix_init_identity</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
The function description goes here.
|
||||
</para>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<!-- See also &return.success; -->
|
||||
<para>
|
||||
What is returned on success and failure
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
When does this function issue E_* level errors, and/or throw exceptions.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>cairo_matrix_init_identity</function> example</title>
|
||||
<para>
|
||||
Any text that describes the purpose of the example, or what
|
||||
goes on in the example should be here.
|
||||
</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
/* ... */
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
...
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>related function name here</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"../../../../manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
|
@ -1,113 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: $ -->
|
||||
|
||||
<refentry xml:id="function.cairo-matrix-init-rotate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_init_rotate</refname>
|
||||
<refpurpose>Description</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>ReturnType</type><methodname>cairo_matrix_init_rotate</methodname>
|
||||
<methodparam><type>string</type><parameter>radians</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
The function description goes here.
|
||||
</para>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>radians</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Description...
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<!-- See also &return.success; -->
|
||||
<para>
|
||||
What is returned on success and failure
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
When does this function issue E_* level errors, and/or throw exceptions.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>cairo_matrix_init_rotate</function> example</title>
|
||||
<para>
|
||||
Any text that describes the purpose of the example, or what
|
||||
goes on in the example should be here.
|
||||
</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
/* ... */
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
...
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>related function name here</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"../../../../manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
|
@ -1,122 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: $ -->
|
||||
|
||||
<refentry xml:id="function.cairo-matrix-init-scale" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_init_scale</refname>
|
||||
<refpurpose>Description</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>ReturnType</type><methodname>cairo_matrix_init_scale</methodname>
|
||||
<methodparam><type>string</type><parameter>sx</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>sy</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
The function description goes here.
|
||||
</para>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>sx</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Description...
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>sy</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Description...
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<!-- See also &return.success; -->
|
||||
<para>
|
||||
What is returned on success and failure
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
When does this function issue E_* level errors, and/or throw exceptions.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>cairo_matrix_init_scale</function> example</title>
|
||||
<para>
|
||||
Any text that describes the purpose of the example, or what
|
||||
goes on in the example should be here.
|
||||
</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
/* ... */
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
...
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>related function name here</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"../../../../manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
|
@ -1,122 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: $ -->
|
||||
|
||||
<refentry xml:id="function.cairo-matrix-init-translate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>cairo_matrix_init_translate</refname>
|
||||
<refpurpose>Description</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>ReturnType</type><methodname>cairo_matrix_init_translate</methodname>
|
||||
<methodparam><type>string</type><parameter>tx</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>ty</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
The function description goes here.
|
||||
</para>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>tx</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Description...
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>ty</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Description...
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<!-- See also &return.success; -->
|
||||
<para>
|
||||
What is returned on success and failure
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
When does this function issue E_* level errors, and/or throw exceptions.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>cairo_matrix_init_translate</function> example</title>
|
||||
<para>
|
||||
Any text that describes the purpose of the example, or what
|
||||
goes on in the example should be here.
|
||||
</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
/* ... */
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
...
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>related function name here</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"../../../../manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
|
@ -11,11 +11,6 @@ Example entries:
|
|||
-->
|
||||
<versions>
|
||||
<!-- Functions -->
|
||||
<function name='cairo_version' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_version_string' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_available_surfaces' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_available_fonts' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_status_to_string' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_create' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_status' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_save' from='PECL cairo >= 0.1.0'/>
|
||||
|
@ -134,11 +129,6 @@ Example entries:
|
|||
<function name='cairo_pattern_get_linear_points' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_pattern_create_radial' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_pattern_get_radial_circles' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_matrix_init' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_matrix_init_identity' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_matrix_init_translate' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_matrix_init_scale' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_matrix_init_rotate' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_matrix_translate' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_matrix_scale' from='PECL cairo >= 0.1.0'/>
|
||||
<function name='cairo_matrix_rotate' from='PECL cairo >= 0.1.0'/>
|
||||
|
|
Loading…
Reference in a new issue