cvs: phpdoc /en/reference/ps/functions ps-add-bookmark.xml ps-add-note.xml ps-begin-pattern.xml ps-findfont.xml ps-makespotcolor.xml
ps-open-image-file.xml ps-set-color.xml ps-set-text-pos.xml ps-setcolor.xml ps-string-geometry.xml ps-stringwidth.xml ps-symbol-name.xml
ps-symbol-width.xml

From: Date: Wed, 22 Jun 2005 13:57:22 +0000
Subject: cvs: phpdoc /en/reference/ps/functions ps-add-bookmark.xml ps-add-note.xml ps-begin-pattern.xml ps-findfont.xml ps-makespotcolor.xml
ps-open-image-file.xml ps-set-color.xml ps-set-text-pos.xml ps-setcolor.xml ps-string-geometry.xml ps-stringwidth.xml ps-symbol-name.xml
ps-symbol-width.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969368798@lists.php.net to get a copy of this message
vrana Wed Jun 22 09:57:22 2005 EDT Added files: /phpdoc/en/reference/ps/functions ps-setcolor.xml Removed files: /phpdoc/en/reference/ps/functions ps-set-color.xml Modified files: /phpdoc/en/reference/ps/functions ps-add-bookmark.xml ps-add-note.xml ps-begin-pattern.xml ps-findfont.xml ps-makespotcolor.xml ps-open-image-file.xml ps-set-text-pos.xml ps-string-geometry.xml ps-stringwidth.xml ps-symbol-name.xml ps-symbol-width.xml Log: Optional parameters

http://cvs.php.net/diff.php/phpdoc/en/reference/ps/functions/ps-add-bookmark.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ps/functions/ps-add-bookmark.xml diff -u phpdoc/en/reference/ps/functions/ps-add-bookmark.xml:1.1 phpdoc/en/reference/ps/functions/ps-add-bookmark.xml:1.2 --- phpdoc/en/reference/ps/functions/ps-add-bookmark.xml:1.1 Wed Jun 22 09:21:21 2005 +++ phpdoc/en/reference/ps/functions/ps-add-bookmark.xml Wed Jun 22 09:57:20 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ps.xml, last change in rev 1.12 --> <refentry id="function.ps-add-bookmark"> <refnamediv> @@ -13,8 +13,8 @@ <type>int</type><methodname>ps_add_bookmark</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>text</parameter></methodparam> - <methodparam><type>int</type><parameter>parent</parameter></methodparam> - <methodparam><type>int</type><parameter>open</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>parent</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>open</parameter></methodparam> </methodsynopsis> <para> Adds a bookmark for the current page. Bookmarks usually appear in http://cvs.php.net/diff.php/phpdoc/en/reference/ps/functions/ps-add-note.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ps/functions/ps-add-note.xml diff -u phpdoc/en/reference/ps/functions/ps-add-note.xml:1.1 phpdoc/en/reference/ps/functions/ps-add-note.xml:1.2 --- phpdoc/en/reference/ps/functions/ps-add-note.xml:1.1 Wed Jun 22 09:21:21 2005 +++ phpdoc/en/reference/ps/functions/ps-add-note.xml Wed Jun 22 09:57:20 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ps.xml, last change in rev 1.12 --> <refentry id="function.ps-add-note"> <refnamediv> @@ -11,10 +11,15 @@ &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_add_note</methodname> - <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> - <methodparam><type>string</type><parameter>text</parameter></methodparam> - <methodparam><type>int</type><parameter>parent</parameter></methodparam> - <methodparam><type>int</type><parameter>open</parameter></methodparam> + <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> + <methodparam><type>float</type><parameter>llx</parameter></methodparam> + <methodparam><type>float</type><parameter>lly</parameter></methodparam> + <methodparam><type>float</type><parameter>urx</parameter></methodparam> + <methodparam><type>float</type><parameter>ury</parameter></methodparam> + <methodparam><type>string</type><parameter>contents</parameter></methodparam> + <methodparam><type>string</type><parameter>title</parameter></methodparam> + <methodparam><type>string</type><parameter>icon</parameter></methodparam> + <methodparam><type>int</type><parameter>open</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; </refsect1> http://cvs.php.net/diff.php/phpdoc/en/reference/ps/functions/ps-begin-pattern.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ps/functions/ps-begin-pattern.xml diff -u phpdoc/en/reference/ps/functions/ps-begin-pattern.xml:1.1 phpdoc/en/reference/ps/functions/ps-begin-pattern.xml:1.2 --- phpdoc/en/reference/ps/functions/ps-begin-pattern.xml:1.1 Wed Jun 22 09:21:21 2005 +++ phpdoc/en/reference/ps/functions/ps-begin-pattern.xml Wed Jun 22 09:57:20 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ps.xml, last change in rev 1.12 --> <refentry id="function.ps-begin-pattern"> <refnamediv> @@ -16,7 +16,7 @@ <methodparam><type>float</type><parameter>height</parameter></methodparam> <methodparam><type>float</type><parameter>xstep</parameter></methodparam> <methodparam><type>float</type><parameter>ystep</parameter></methodparam> - <methodparam><type>long</type><parameter>painttype</parameter></methodparam> + <methodparam><type>int</type><parameter>painttype</parameter></methodparam> </methodsynopsis> <para> Starts a new pattern. http://cvs.php.net/diff.php/phpdoc/en/reference/ps/functions/ps-findfont.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ps/functions/ps-findfont.xml diff -u phpdoc/en/reference/ps/functions/ps-findfont.xml:1.1 phpdoc/en/reference/ps/functions/ps-findfont.xml:1.2 --- phpdoc/en/reference/ps/functions/ps-findfont.xml:1.1 Wed Jun 22 09:21:21 2005 +++ phpdoc/en/reference/ps/functions/ps-findfont.xml Wed Jun 22 09:57:20 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ps.xml, last change in rev 1.12 --> <refentry id="function.ps-findfont"> <refnamediv> @@ -14,7 +14,7 @@ <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>fontname</parameter></methodparam> <methodparam><type>string</type><parameter>encoding</parameter></methodparam> - <methodparam><type>bool</type><parameter>embed</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>embed</parameter></methodparam> </methodsynopsis> <para> Loads a font for later use. Before text is output with a loaded font it http://cvs.php.net/diff.php/phpdoc/en/reference/ps/functions/ps-makespotcolor.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ps/functions/ps-makespotcolor.xml diff -u phpdoc/en/reference/ps/functions/ps-makespotcolor.xml:1.1 phpdoc/en/reference/ps/functions/ps-makespotcolor.xml:1.2 --- phpdoc/en/reference/ps/functions/ps-makespotcolor.xml:1.1 Wed Jun 22 09:21:22 2005 +++ phpdoc/en/reference/ps/functions/ps-makespotcolor.xml Wed Jun 22 09:57:20 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ps.xml, last change in rev 1.12 --> <refentry id="function.ps-makespotcolor"> <refnamediv> @@ -10,7 +10,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>ps_lineto</methodname> + <type>bool</type><methodname>ps_makespotcolor</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>reserved</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc/en/reference/ps/functions/ps-open-image-file.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ps/functions/ps-open-image-file.xml diff -u phpdoc/en/reference/ps/functions/ps-open-image-file.xml:1.1 phpdoc/en/reference/ps/functions/ps-open-image-file.xml:1.2 --- phpdoc/en/reference/ps/functions/ps-open-image-file.xml:1.1 Wed Jun 22 09:21:22 2005 +++ phpdoc/en/reference/ps/functions/ps-open-image-file.xml Wed Jun 22 09:57:20 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ps.xml, last change in rev 1.12 --> <refentry id="function.ps-open-image-file"> <refnamediv> @@ -14,8 +14,8 @@ <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>type</parameter></methodparam> <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam><type>string</type><parameter>stringparam</parameter></methodparam> - <methodparam><type>int</type><parameter>intparam</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>stringparam</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>intparam</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; </refsect1> http://cvs.php.net/diff.php/phpdoc/en/reference/ps/functions/ps-set-text-pos.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ps/functions/ps-set-text-pos.xml diff -u phpdoc/en/reference/ps/functions/ps-set-text-pos.xml:1.1 phpdoc/en/reference/ps/functions/ps-set-text-pos.xml:1.2 --- phpdoc/en/reference/ps/functions/ps-set-text-pos.xml:1.1 Wed Jun 22 09:21:22 2005 +++ phpdoc/en/reference/ps/functions/ps-set-text-pos.xml Wed Jun 22 09:57:20 2005 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ps.xml, last change in rev 1.12 --> <refentry id="function.ps-set-text-pos"> <refnamediv> - <refname>ps_set_test_pos</refname> + <refname>ps_set_text_pos</refname> <refpurpose>Sets position for text output</refpurpose> </refnamediv> http://cvs.php.net/diff.php/phpdoc/en/reference/ps/functions/ps-string-geometry.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ps/functions/ps-string-geometry.xml diff -u phpdoc/en/reference/ps/functions/ps-string-geometry.xml:1.1 phpdoc/en/reference/ps/functions/ps-string-geometry.xml:1.2 --- phpdoc/en/reference/ps/functions/ps-string-geometry.xml:1.1 Wed Jun 22 09:21:22 2005 +++ phpdoc/en/reference/ps/functions/ps-string-geometry.xml Wed Jun 22 09:57:20 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ps.xml, last change in rev 1.12 --> <refentry id="function.ps-string-geometry"> <refnamediv> @@ -13,8 +13,8 @@ <type>array</type><methodname>ps_string_geometry</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>text</parameter></methodparam> - <methodparam><type>int</type><parameter>fontid</parameter></methodparam> - <methodparam><type>float</type><parameter>size</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>fontid</parameter></methodparam> + <methodparam choice="opt"><type>float</type><parameter>size</parameter></methodparam> </methodsynopsis> <para> This function is similar to <function>ps_stringwidth</function> but returns http://cvs.php.net/diff.php/phpdoc/en/reference/ps/functions/ps-stringwidth.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ps/functions/ps-stringwidth.xml diff -u phpdoc/en/reference/ps/functions/ps-stringwidth.xml:1.1 phpdoc/en/reference/ps/functions/ps-stringwidth.xml:1.2 --- phpdoc/en/reference/ps/functions/ps-stringwidth.xml:1.1 Wed Jun 22 09:21:22 2005 +++ phpdoc/en/reference/ps/functions/ps-stringwidth.xml Wed Jun 22 09:57:20 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ps.xml, last change in rev --> <refentry id="function.ps-stringwidth"> <refnamediv> @@ -10,19 +10,18 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>float</type><methodname>ps_stringwidth</methodname> - <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> - <methodparam><type>string</type><parameter>text</parameter></methodparam> - <methodparam><type>int</type><parameter>fontid</parameter></methodparam> - <methodparam><type>float</type><parameter>size</parameter></methodparam> - + <type>float</type><methodname>ps_stringwidth</methodname> + <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> + <methodparam><type>string</type><parameter>text</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>fontid</parameter></methodparam> + <methodparam choice="opt"><type>float</type><parameter>size</parameter></methodparam> </methodsynopsis> <para>Calculates the width of a string in points if it was output - in the given font and font size. - This function needs an Adobe font - metrics file to calculate the precise width. If kerning is turned on, - it will be taken into account.</para> + in the given font and font size. + This function needs an Adobe font + metrics file to calculate the precise width. If kerning is turned on, + it will be taken into account.</para> </refsect1> <refsect1> http://cvs.php.net/diff.php/phpdoc/en/reference/ps/functions/ps-symbol-name.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ps/functions/ps-symbol-name.xml diff -u phpdoc/en/reference/ps/functions/ps-symbol-name.xml:1.1 phpdoc/en/reference/ps/functions/ps-symbol-name.xml:1.2 --- phpdoc/en/reference/ps/functions/ps-symbol-name.xml:1.1 Wed Jun 22 09:21:22 2005 +++ phpdoc/en/reference/ps/functions/ps-symbol-name.xml Wed Jun 22 09:57:20 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ps.xml, last change in rev 1.12 --> <refentry id="function.ps-symbol-name"> <refnamediv> @@ -13,7 +13,7 @@ <type>string</type><methodname>ps_symbol_name</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>ord</parameter></methodparam> - <methodparam><type>int</type><parameter>fontid</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>fontid</parameter></methodparam> </methodsynopsis> <para> This function needs an Adobe font metrics file to know which glyphs are http://cvs.php.net/diff.php/phpdoc/en/reference/ps/functions/ps-symbol-width.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ps/functions/ps-symbol-width.xml diff -u phpdoc/en/reference/ps/functions/ps-symbol-width.xml:1.1 phpdoc/en/reference/ps/functions/ps-symbol-width.xml:1.2 --- phpdoc/en/reference/ps/functions/ps-symbol-width.xml:1.1 Wed Jun 22 09:21:22 2005 +++ phpdoc/en/reference/ps/functions/ps-symbol-width.xml Wed Jun 22 09:57:20 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ps.xml, last change in rev 1.12 --> <refentry id="function.ps-symbol-width"> <refnamediv> @@ -13,8 +13,8 @@ <type>float</type><methodname>ps_symbol_width</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>ord</parameter></methodparam> - <methodparam><type>int</type><parameter>fontid</parameter></methodparam> - <methodparam><type>float</type><parameter>size</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>fontid</parameter></methodparam> + <methodparam choice="opt"><type>float</type><parameter>size</parameter></methodparam> </methodsynopsis> <para> Calculates the width of a glyph in points if it was output in the given http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setcolor.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setcolor.xml +++ phpdoc/en/reference/ps/functions/ps-setcolor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ps.xml, last change in rev 1.12 --> <refentry id="function.ps-setcolor"> <refnamediv> <refname>ps_setcolor</refname> <refpurpose>Sets current color</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setcolor</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>type</parameter></methodparam> <methodparam><type>string</type><parameter>colorspace</parameter></methodparam> <methodparam><type>float</type><parameter>c1</parameter></methodparam> <methodparam><type>float</type><parameter>c2</parameter></methodparam> <methodparam><type>float</type><parameter>c3</parameter></methodparam> <methodparam><type>float</type><parameter>c4</parameter></methodparam> </methodsynopsis> <para> Sets the color for drawing, filling, or both. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>type</parameter></term> <listitem> <para> The parameter <parameter>type</parameter> can be <literal>both</literal>, <literal>fill</literal>, or <literal>fillstroke</literal>. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>colorspace</parameter></term> <listitem> <para> The colorspace should be one of <literal>gray</literal>, <literal>rgb</literal>, <literal>cmyk</literal>, <literal>spot</literal>, <literal>pattern</literal>. Depending on the colorspace either only the first, the first three or all parameters will be used. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>c1</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>c2</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>c3</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>c4</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1> <title>Bugs</title> <para> The second parameter is currently not always evaluated. The color is sometimes set for filling and drawing just as if <literal>fillstroke</literal> where passed. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </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 -->
« previous php.doc (#969368798) next »