mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
updates for ui 1.0.2
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340747 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6819e8a570
commit
99aaaf7ecb
5 changed files with 158 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
&reference.ui.ui.point.at;
|
||||
&reference.ui.ui.point.construct;
|
||||
&reference.ui.ui.point.getx;
|
||||
&reference.ui.ui.point.gety;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
&reference.ui.ui.size.construct;
|
||||
&reference.ui.ui.size.getheight;
|
||||
&reference.ui.ui.size.getwidth;
|
||||
&reference.ui.ui.size.of;
|
||||
&reference.ui.ui.size.setheight;
|
||||
&reference.ui.ui.size.setwidth;
|
||||
|
|
77
reference/ui/ui/point/at.xml
Normal file
77
reference/ui/ui/point/at.xml
Normal file
|
@ -0,0 +1,77 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<refentry xml:id="ui-point.at" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>UI\Point::at</refname>
|
||||
<refpurpose>Size Coercion</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <modifier>static</modifier> <type>UI\Point</type><methodname>UI\Point::at</methodname>
|
||||
<methodparam><type>float</type><parameter>point</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <modifier>static</modifier> <type>UI\Point</type><methodname>UI\Point::at</methodname>
|
||||
<methodparam><type>UI\Size</type><parameter>size</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Shall return a UI\Point object where x and y are equal to those supplied, either in float or UI\Size form
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>point</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The value for x and y
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>size</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The Size to convert
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
The resulting Point
|
||||
</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:"~/.phpdoc/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
|
||||
-->
|
77
reference/ui/ui/size/of.xml
Normal file
77
reference/ui/ui/size/of.xml
Normal file
|
@ -0,0 +1,77 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<refentry xml:id="ui-size.of" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>UI\Size::of</refname>
|
||||
<refpurpose>Point Coercion</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <modifier>static</modifier> <type>UI\Size</type><methodname>UI\Size::of</methodname>
|
||||
<methodparam><type>float</type><parameter>size</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <modifier>static</modifier> <type>UI\Size</type><methodname>UI\Size::of</methodname>
|
||||
<methodparam><type>UI\Point</type><parameter>point</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Shall return a UI\Size object where width and height are equal to those supplied, either in float or UI\Point form
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>size</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The value for width and height
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>point</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The Point to convert
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
The resulting Size
|
||||
</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:"~/.phpdoc/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
|
||||
-->
|
|
@ -21,6 +21,7 @@
|
|||
<function name='ui\point::gety' from='PHP 7, UI 0.9.9'/>
|
||||
<function name='ui\point::setx' from='PHP 7, UI 0.9.9'/>
|
||||
<function name='ui\point::sety' from='PHP 7, UI 0.9.9'/>
|
||||
<function name='ui\point::at' from='PHP 7, UI 1.0.2'/>
|
||||
|
||||
<function name='ui\size' from='PHP 7, UI 0.9.9'/>
|
||||
<function name='ui\size::__construct' from='PHP 7, UI 0.9.9'/>
|
||||
|
@ -28,6 +29,7 @@
|
|||
<function name='ui\size::getheight' from='PHP 7, UI 0.9.9'/>
|
||||
<function name='ui\size::setwidth' from='PHP 7, UI 0.9.9'/>
|
||||
<function name='ui\size::setheight' from='PHP 7, UI 0.9.9'/>
|
||||
<function name='ui\size::of' from='PHP 7, UI 1.0.2'/>
|
||||
|
||||
<function name='ui\control' from='PHP 7, UI 0.9.9'/>
|
||||
<function name='ui\control::getparent' from='PHP 7, UI 0.9.9'/>
|
||||
|
|
Loading…
Reference in a new issue