cvs: phpdoc /en/reference/ps .cvsignore configure.xml constants.xml reference.xml /en/reference/ps/functions ps-add-bookmark.xml
ps-add-launchlink.xml ps-add-locallink.xml ps-add-note.xml ps-add-pdflink.xml ps-add-weblink.xml ps-arc.xml ps-arcn.xml ps-begin-page.xml
ps-begin-pattern.xml ps-begin-template.xml ps-circle.xml ps-clip.xml ps-close-image.xml ps-close.xml ps-closepath-stroke.xml ps-closepath.xml
ps-continue-text.xml ps-curveto.xml ps-delete.xml ps-end-page.xml ps-end-pattern.xml ps-end-template.xml ps-fill-stroke.xml ps-fill.xml
ps-findfont.xml ps-get-buffer.xml ps-get-parameter.xml ps-get-value.xml ps-hyphenate.xml ps-lineto.xml ps-makespotcolor.xml ps-moveto.xml ps-new.xml
ps-open-file.xml ps-open-image-file.xml ps-open-image.xml ps-place-image.xml ps-rect.xml ps-restore.xml ps-rotate.xml ps-save.xml ps-scale.xml
ps-set-border-color.xml ps-set-border-dash.xml ps-set-border-style.xml ps-set-color.xml ps-set-info.xml ps-set-parameter.xml ps-set-text-pos.xml
ps-set-value.xml ps-setdash.xml ps-setflat.xml ps-setfont.xml ps-setgray.xml ps-setlinecap.xml ps-setlinejoin.xml ps-setlinewidth.xml
ps-setmiterlimit.xml ps-setpolydash.xml ps-shading-pattern.xml ps-shading.xml ps-shfill.xml ps-show-boxed.xml ps-show-xy.xml ps-show.xml
ps-string-geometry.xml ps-stringwidth.xml ps-stroke.xml ps-symbol-name.xml ps-symbol-width.xml ps-symbol.xml ps-translate.xml
| From: | Friedhelm Betz | Date: | Wed, 22 Jun 2005 13:21:25 +0000 |
| Subject: | cvs: phpdoc /en/reference/ps .cvsignore configure.xml constants.xml reference.xml /en/reference/ps/functions ps-add-bookmark.xml ps-add-launchlink.xml ps-add-locallink.xml ps-add-note.xml ps-add-pdflink.xml ps-add-weblink.xml ps-arc.xml ps-arcn.xml ps-begin-page.xml ps-begin-pattern.xml ps-begin-template.xml ps-circle.xml ps-clip.xml ps-close-image.xml ps-close.xml ps-closepath-stroke.xml ps-closepath.xml ps-continue-text.xml ps-curveto.xml ps-delete.xml ps-end-page.xml ps-end-pattern.xml ps-end-template.xml ps-fill-stroke.xml ps-fill.xml ps-findfont.xml ps-get-buffer.xml ps-get-parameter.xml ps-get-value.xml ps-hyphenate.xml ps-lineto.xml ps-makespotcolor.xml ps-moveto.xml ps-new.xml ps-open-file.xml ps-open-image-file.xml ps-open-image.xml ps-place-image.xml ps-rect.xml ps-restore.xml ps-rotate.xml ps-save.xml ps-scale.xml ps-set-border-color.xml ps-set-border-dash.xml ps-set-border-style.xml ps-set-color.xml ps-set-info.xml ps-set-parameter.xml ps-set-text-pos.xml ps-set-value.xml ps-setdash.xml ps-setflat.xml ps-setfont.xml ps-setgray.xml ps-setlinecap.xml ps-setlinejoin.xml ps-setlinewidth.xml ps-setmiterlimit.xml ps-setpolydash.xml ps-shading-pattern.xml ps-shading.xml ps-shfill.xml ps-show-boxed.xml ps-show-xy.xml ps-show.xml ps-string-geometry.xml ps-stringwidth.xml ps-stroke.xml ps-symbol-name.xml ps-symbol-width.xml ps-symbol.xml ps-translate.xml |
||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969368797@lists.php.net to get a copy of this message | ||
betz Wed Jun 22 09:21:25 2005 EDT
Added files:
/phpdoc/en/reference/ps/functions ps-add-bookmark.xml
ps-add-launchlink.xml
ps-add-locallink.xml
ps-add-note.xml
ps-add-pdflink.xml
ps-add-weblink.xml ps-arcn.xml
ps-arc.xml ps-begin-page.xml
ps-begin-pattern.xml
ps-begin-template.xml
ps-circle.xml ps-clip.xml
ps-close-image.xml
ps-closepath-stroke.xml
ps-closepath.xml ps-close.xml
ps-continue-text.xml
ps-curveto.xml ps-delete.xml
ps-end-page.xml
ps-end-pattern.xml
ps-end-template.xml
ps-fill-stroke.xml ps-fill.xml
ps-findfont.xml ps-get-buffer.xml
ps-get-parameter.xml
ps-get-value.xml ps-hyphenate.xml
ps-lineto.xml
ps-makespotcolor.xml
ps-moveto.xml ps-new.xml
ps-open-file.xml
ps-open-image-file.xml
ps-open-image.xml
ps-place-image.xml ps-rect.xml
ps-restore.xml ps-rotate.xml
ps-save.xml ps-scale.xml
ps-set-border-color.xml
ps-set-border-dash.xml
ps-set-border-style.xml
ps-set-color.xml ps-setdash.xml
ps-setflat.xml ps-setfont.xml
ps-setgray.xml ps-set-info.xml
ps-setlinecap.xml
ps-setlinejoin.xml
ps-setlinewidth.xml
ps-setmiterlimit.xml
ps-set-parameter.xml
ps-setpolydash.xml
ps-set-text-pos.xml
ps-set-value.xml
ps-shading-pattern.xml
ps-shading.xml ps-shfill.xml
ps-show-boxed.xml ps-show.xml
ps-show-xy.xml
ps-string-geometry.xml
ps-stringwidth.xml ps-stroke.xml
ps-symbol-name.xml
ps-symbol-width.xml ps-symbol.xml
ps-translate.xml
/phpdoc/en/reference/ps configure.xml constants.xml .cvsignore
reference.xml
Log:
move ps from peardoc
http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-add-bookmark.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-add-bookmark.xml +++ phpdoc/en/reference/ps/functions/ps-add-bookmark.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-add-bookmark"> <refnamediv> <refname>ps_add_bookmark</refname> <refpurpose>Add bookmark to current page</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <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> </methodsynopsis> <para> Adds a bookmark for the current page. Bookmarks usually appear in PDF-Viewers left of the page in a hierachical tree. Clicking on a bookmark will jump to the given page. </para> <para> The bookmark has no meaning if the document is printed or viewed but it will be used if the document is converted to pdf by either Acrobat Distiller™ or Ghostview. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>text</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>parent</parameter></term> <listitem> <para> The parameter <parameter>parent</parameter> is another bookmark which is used as the parent of the new bookmark. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>open</parameter></term> <listitem> <para> If <parameter>open</parameter> is unequal to zero the bookmark will be shown open by the pdf viewer. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The returned value is a reference for the bookmark. It is only used if the bookmark shall be used as a parent. </para> <para> Returns the identifier of the bookmark or zero in case of an error. The identifier is a positiv number. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_add_launchlink</function></member> <member><function>ps_add_pdflink</function></member> <member><function>ps_add_weblink</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-add-launchlink.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-add-launchlink.xml +++ phpdoc/en/reference/ps/functions/ps-add-launchlink.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-add-launchlink"> <refnamediv> <refname>ps_add_launchlink</refname> <refpurpose>Adds link which launches file</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_add_launchlink</methodname> <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>filename</parameter></methodparam> </methodsynopsis> <para> Places a hyperlink at the given position pointing to a file program which is being started when clicked on. The hyperlink start is a rectangle with its lower left corner at (llx, lly) and its upper right corner at (urx, ury). The rectangle has by default a thin blue border. </para> <para> The hyperlink will not be visible if the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat Distiller™ or Ghostview. </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>llx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>lly</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>urx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>ury</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> --> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_add_locallink</function></member> <member><function>ps_add_pdflink</function></member> <member><function>ps_add_weblink</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-add-locallink.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-add-locallink.xml +++ phpdoc/en/reference/ps/functions/ps-add-locallink.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-add-locallink"> <refnamediv> <refname>ps_add_locallink</refname> <refpurpose>Adds link to a page in the same document</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_add_locallink</methodname> <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>int</type><parameter>page</parameter></methodparam> <methodparam><type>string</type><parameter>dest</parameter></methodparam> </methodsynopsis> <para> Places a hyperlink at the given position pointing to a page in the same document. Clicking on the link will jump to the given page. The first page in a document has number 1. </para> <para> The hyperlink start is a rectangle with its lower left corner at (<parameter>llx</parameter>, <parameter>lly</parameter>) and its upper right corner at (<parameter>urx</parameter>, <parameter>ury</parameter>). The rectangle has by default a thin blue border. </para> <para> The hyperlink will not be visible if the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat Distiller™ or Ghostview. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>llx</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>lly</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>urx</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>ury</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>page</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>dest</parameter></term> <listitem> <para> The parameter <parameter>dest</parameter> determines how the document is being viewed. It can be <literal>fitpage</literal>, <literal>fitwidth</literal>, <literal>fitheight</literal>, or <literal>fitbbox</literal>. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_add_launchlink</function></member> <member><function>ps_add_pdflink</function></member> <member><function>ps_add_weblink</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-add-note.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-add-note.xml +++ phpdoc/en/reference/ps/functions/ps-add-note.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-add-note"> <refnamediv> <refname>ps_add_note</refname> <refpurpose>Adds note to current page</refpurpose> </refnamediv> <refsect1 role="description"> &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> </methodsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_add_pdflink</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-add-pdflink.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-add-pdflink.xml +++ phpdoc/en/reference/ps/functions/ps-add-pdflink.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-add-pdflink"> <refnamediv> <refname>ps_add_pdflink</refname> <refpurpose>Adds link to a page in a second pdf document</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_add_pdflink</methodname> <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>filename</parameter></methodparam> <methodparam><type>int</type><parameter>page</parameter></methodparam> <methodparam><type>string</type><parameter>dest</parameter></methodparam> </methodsynopsis> <para> Places a hyperlink at the given position pointing to a second pdf document. Clicking on the link will branch to the document at the given page.The first page in a document has number 1. </para> <para> The hyperlink start is a rectangle with its lower left corner at (<parameter>llx</parameter>, <parameter>lly</parameter>) and its upper right corner at (<parameter>urx</parameter>, <parameter>ury</parameter>). The rectangle has by default a thin blue border. </para> <para> The hyperlink will not be visible if the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat Distiller™ or Ghostview. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>llx</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>lly</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>urx</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>ury</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>page</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>dest</parameter></term> <listitem> <para> The parameter <parameter>dest</parameter> determines how the document is being viewed. It can be <literal>fitpage</literal>, <literal>fitwidth</literal>, <literal>fitheight</literal>, or <literal>fitbbox</literal>. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_add_launchlink</function></member> <member><function>ps_add_locallink</function></member> <member><function>ps_add_weblink</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-add-weblink.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-add-weblink.xml +++ phpdoc/en/reference/ps/functions/ps-add-weblink.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-add-weblink"> <refnamediv> <refname>ps_add_weblink</refname> <refpurpose>Adds link to a web location</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_add_weblink</methodname> <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>url</parameter></methodparam> </methodsynopsis> <para> Places a hyperlink at the given position pointing to a web page. The hyperlink start is a rectangle with its lower left corner at (llx, lly) and its upper right corner at (urx, ury). The rectangle has by default a thin blue border. </para> <para> The hyperlink will not be visible if the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat Distiller™ or Ghostview. </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>llx</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>lly</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>urx</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>ury</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>url</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> --> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_add_launchlink</function></member> <member><function>ps_add_locallink</function></member> <member><function>ps_add_pdflink</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-arcn.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-arcn.xml +++ phpdoc/en/reference/ps/functions/ps-arcn.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-arcn"> <refnamediv> <refname>ps_arcn</refname> <refpurpose>Draws an arc clockwise</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_arcn</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> <methodparam><type>float</type><parameter>radius</parameter></methodparam> <methodparam><type>float</type><parameter>alpha</parameter></methodparam> <methodparam><type>float</type><parameter>beta</parameter></methodparam> </methodsynopsis> <para> Draws a portion of a circle with at middle point at (<parameter>x</parameter>, <parameter>y</parameter>). The arc starts at an angle of <parameter>alpha</parameter> and ends at an angle of <parameter>beta</parameter>. It is draws clockwise. The subpath added to the current path starts on the arc at angle <parameter>beta</parameter> and ends on the arc at angle <parameter>alpha</parameter>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_arc</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-arc.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-arc.xml +++ phpdoc/en/reference/ps/functions/ps-arc.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-arc"> <refnamediv> <refname>ps_arc</refname> <refpurpose>Draws an arc counterclockwise</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_arc</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> <methodparam><type>float</type><parameter>radius</parameter></methodparam> <methodparam><type>float</type><parameter>alpha</parameter></methodparam> <methodparam><type>float</type><parameter>beta</parameter></methodparam> </methodsynopsis> <para> Draws a portion of a circle with at middle point at (<parameter>x</parameter>, <parameter>y</parameter>). The arc starts at an angle of <parameter>alpha</parameter> and ends at an angle of <parameter>beta</parameter>. It is draw counterclockwise. The subpath added to the current path starts on the arc at angle <parameter>alpha</parameter> and ends on the arc at angle <parameter>beta</parameter>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_arcn</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-begin-page.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-begin-page.xml +++ phpdoc/en/reference/ps/functions/ps-begin-page.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-begin-page"> <refnamediv> <refname>ps_begin_page</refname> <refpurpose>Start a new page</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_begin_page</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> <methodparam><type>float</type><parameter>height</parameter></methodparam> </methodsynopsis> <para> Starts a new page. Though the parameters <parameter>width</parameter> and <parameter>height</parameter> imply a different page size for each page, this is not possible in PostScript. The first call of <function>ps_begin_page</function> will set the page size for the whole document. Consecutive calls will have no effect, except for creating a new page. The situation is different if you indent to convert the PostScript document into PDF. This function places pdfmarks into the document which can set the size for each page indiviually. The resulting PDF document will have different page sizes. </para> <para> Each page is encapsulated into save/restore. This means, that most of the settings made on one page will not be retained on the next page. </para> <para> If there is up to the first call of <function>ps_begin_page</function> no call of <function>ps_findfont</function>, then the header of the PostScript document will be output and the bounding box will be set to the size of the first page. If <function>ps_findfont</function> was called before the header has been output already, the document will not have a valid bounding box. In order to prevent this, one should call <function>ps_set_info</function> to set the info field <literal>BoundingBox</literal> and possibly <literal>Orientation</literal> before any <function>ps_findfont</function> or <function>ps_begin_page</function> calls. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_end_page</function></member> <member><function>ps_findfont</function></member> <member><function>ps_set_info</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-begin-pattern.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-begin-pattern.xml +++ phpdoc/en/reference/ps/functions/ps-begin-pattern.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-begin-pattern"> <refnamediv> <refname>ps_begin_pattern</refname> <refpurpose>Start a new pattern</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>ps_begin_pattern</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> <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> </methodsynopsis> <para> Starts a new pattern. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The identifier of the pattern or &false; in case of an error. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_end_pattern</function></member> <member><function>ps_setcolor</function></member> <member><function>ps_shading_pattern</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-begin-template.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-begin-template.xml +++ phpdoc/en/reference/ps/functions/ps-begin-template.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-begin-template"> <refnamediv> <refname>ps_begin_template</refname> <refpurpose>Start a new template</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_begin_template</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> <methodparam><type>float</type><parameter>height</parameter></methodparam> </methodsynopsis> <para> Starts a new template. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_end_template</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-circle.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-circle.xml +++ phpdoc/en/reference/ps/functions/ps-circle.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-circle"> <refnamediv> <refname>ps_circle</refname> <refpurpose>Draws a circle</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_circle</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> <methodparam><type>float</type><parameter>radius</parameter></methodparam> </methodsynopsis> <para>Draws a circle with its middle point at (<parameter>x</parameter>, <parameter>y</parameter>). The circle starts and ends at position (<parameter>x</parameter>+<parameter>radius</parameter>, <parameter>y</parameter>). If this function is called outside a path it will start a new path. If it is called within a path it will add the circle as a subpath. If the last drawing operation does not end in point (<parameter>x</parameter>+<parameter>radius</parameter>, <parameter>y</parameter>) then there will be a gab in the path. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_arc</function></member> <member><function>ps_arcn</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-clip.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-clip.xml +++ phpdoc/en/reference/ps/functions/ps-clip.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-clip"> <refnamediv> <refname>ps_clip</refname> <refpurpose>Clips drawing to current path</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_clip</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Takes the current path and uses it to define the border of a clipping area. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_closepath</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-close-image.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-close-image.xml +++ phpdoc/en/reference/ps/functions/ps-close-image.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-close-image"> <refnamediv> <refname>ps_close_image</refname> <refpurpose>Closes image and frees memory</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_close_image</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>imageid</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_open_image</function></member> <member><function>ps_open_image_file</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-closepath-stroke.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-closepath-stroke.xml +++ phpdoc/en/reference/ps/functions/ps-closepath-stroke.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-closepath-stroke"> <refnamediv> <refname>ps_closepath_stroke</refname> <refpurpose>Closes and strokes path</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_closepath_stroke</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Connects the last point with first point of a path and draws the resulting closed line. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_closepath</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-closepath.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-closepath.xml +++ phpdoc/en/reference/ps/functions/ps-closepath.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-closepath"> <refnamediv> <refname>ps_closepath</refname> <refpurpose>Closes path</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_closepath</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Connects the last point with first point of a path. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_clip</function></member> <member><function>ps_closepath_stroke</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-close.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-close.xml +++ phpdoc/en/reference/ps/functions/ps-close.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-close"> <refnamediv> <refname>ps_close</refname> <refpurpose>Closes a PostScript document</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_close</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Closes the PostScript document. </para> <para> This function outputs a last line into the PostScript document, which is a PostScript comment containing the number of pages. It also writes the bookmark tree. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_open_file</function></member> <member><function>ps_delete</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-continue-text.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-continue-text.xml +++ phpdoc/en/reference/ps/functions/ps-continue-text.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-continue-text"> <refnamediv> <refname>ps_continue_text</refname> <refpurpose>Continue text in next line</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_continue_text</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> Output a text one line below the last outputed line. The line spacing is taken from the value "leading" which must be set with <function>ps_set_value</function> in points. The actual position of the text is determined by the values "textx" and "texty" which can be requested with <function>ps_get_value</function> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_show</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-curveto.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-curveto.xml +++ phpdoc/en/reference/ps/functions/ps-curveto.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-curveto"> <refnamediv> <refname>ps_curveto</refname> <refpurpose>Draws a curve</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_curveto</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x1</parameter></methodparam> <methodparam><type>float</type><parameter>y1</parameter></methodparam> <methodparam><type>float</type><parameter>x2</parameter></methodparam> <methodparam><type>float</type><parameter>y2</parameter></methodparam> <methodparam><type>float</type><parameter>x3</parameter></methodparam> <methodparam><type>float</type><parameter>y3</parameter></methodparam> </methodsynopsis> <para> Draws a curve described by the three given points. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_lineto</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-delete.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-delete.xml +++ phpdoc/en/reference/ps/functions/ps-delete.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-delete"> <refnamediv> <refname>ps_delete</refname> <refpurpose>Deletes all resources of a PostScript document</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_delete</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Mainly frees memory used by the document. Also closes a file, if it was not closed before with <function>ps_close</function>. You should in any case close the file with <function>ps_close</function> before, because <function>ps_close</function> not just closes the file but also outputs a last line containing the PostScript comment with the number of pages in the document. Without this comment, a PostScript viewer may not show the number of pages propperly. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_close</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-end-page.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-end-page.xml +++ phpdoc/en/reference/ps/functions/ps-end-page.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-end-page"> <refnamediv> <refname>ps_end_page</refname> <refpurpose>End a page</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_end_page</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Ends a page which was started with <function>ps_begin_page</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_begin_page</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-end-pattern.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-end-pattern.xml +++ phpdoc/en/reference/ps/functions/ps-end-pattern.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-end-pattern"> <refnamediv> <refname>ps_end_pattern</refname> <refpurpose>End a page</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_end_pattern</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Ends a pattern which was started with <function>ps_begin_pattern</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_begin_pattern</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-end-template.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-end-template.xml +++ phpdoc/en/reference/ps/functions/ps-end-template.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-end-template"> <refnamediv> <refname>ps_end_template</refname> <refpurpose>End a template</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_end_template</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Ends a template which was started with <function>ps_begin_template</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_begin_template</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-fill-stroke.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-fill-stroke.xml +++ phpdoc/en/reference/ps/functions/ps-fill-stroke.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-fill-stroke"> <refnamediv> <refname>ps_fill_stroke</refname> <refpurpose>Fills and strokes the current path</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_fill_stroke</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Fills and draws the path constructed with previously called drawing functions like <function>ps_lineto</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_fill</function></member> <member><function>ps_stroke</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-fill.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-fill.xml +++ phpdoc/en/reference/ps/functions/ps-fill.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-fill"> <refnamediv> <refname>ps_fill</refname> <refpurpose>Fills the current path</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_fill</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Fills the path constructed with previously called drawing functions like <function>ps_lineto</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_fill_stroke</function></member> <member><function>ps_stroke</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-findfont.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-findfont.xml +++ phpdoc/en/reference/ps/functions/ps-findfont.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-findfont"> <refnamediv> <refname>ps_findfont</refname> <refpurpose>Loads a font</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>ps_findfont</methodname> <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> </methodsynopsis> <para> Loads a font for later use. Before text is output with a loaded font it must be set with <function>ps_setfont</function>. This function needs the adobe font metric file in order to calculate the space used up by the characters. A font which is loaded within a page will only be available on that page. Fonts which are to be used in the complete document has to be loaded before the first call of <function>ps_begin_page</function>. Calling <function>ps_findfont</function> between pages will make that font available for all following pages. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>fontname</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>encoding</parameter></term> <listitem> <para> <function>ps_findfont</function> will try to load the file passed in the parameter <parameter>encoding</parameter>. Encoding files are of the same syntax as those used by <command>dvips(1)</command>. They contain a font encoding vector (which is currently not used but must be present) and a list of extra ligatures to extend the list of ligatures derived from the afm file. </para> <para> <parameter>encoding</parameter> can be &null; or the empty string if the default encoding (TeXBase1) shall be used. </para> <para>If the encoding is set to <literal>builtin</literal> then there will be no reencoding and the font specific encoding will be used. This is very useful with symbol fonts. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>embed</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the identifier of the font or zero in case of an error. The identifier is a positiv number. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_begin_page</function></member> <member><function>ps_setfont</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-get-buffer.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-get-buffer.xml +++ phpdoc/en/reference/ps/functions/ps-get-buffer.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-get-buffer"> <refnamediv> <refname>ps_get_buffer</refname> <refpurpose>Fetches the full buffer containig the generated PS data</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>ps_get_buffer</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para>Not yet implemented</para> &warn.undocumented.func; </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_open_file</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-get-parameter.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-get-parameter.xml +++ phpdoc/en/reference/ps/functions/ps-get-parameter.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-get-parameter"> <refnamediv> <refname>ps_get_parameter</refname> <refpurpose>Gets certain parameters</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>ps_get_parameter</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>modifier</parameter></methodparam> </methodsynopsis> <para> Gets several parameters which were set by <function>ps_set_parameter</function>. Parameters are by definition string values. This function cannot be used to retrieve resources which were also set by <function>ps_set_parameter</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the value of the parameter or &false;. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_set_parameter</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-get-value.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-get-value.xml +++ phpdoc/en/reference/ps/functions/ps-get-value.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-get-value"> <refnamediv> <refname>ps_get_value</refname> <refpurpose>Gets certain values</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>float</type><methodname>ps_get_value</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>modifier</parameter></methodparam> </methodsynopsis> <para>Gets several values which were set by <function>ps_set_value</function>. Parameters are by definition float values. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>modifier</parameter></term> <listitem> <para> The parameter <parameter>modifier</parameter> specifies the resource for which the value is to be retrieved. This can be the id of a font or an image. It must be 0.0 if not used. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the value of the parameter or &false;. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_set_value</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-hyphenate.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-hyphenate.xml +++ phpdoc/en/reference/ps/functions/ps-hyphenate.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-hyphenate"> <refnamediv> <refname>ps_hyphenate</refname> <refpurpose>Hyphenates a word</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>ps_hyphenate</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> Hyphenates the passed word. <function>ps_hyphenate</function> evaluates the value hyphenminchars and the parameter hyphendict. hyphendict must be set before calling this function. </para> <para> This function requires the locale category LC_CTYPE to be set propperly. This is done when the extension is initialized by using the enviroment variables. On Unix systems read the man page of locale. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>text</parameter></term> <listitem> <para> <parameter>text</parameter> should not contain any non alpha characters. Possible positions for breaks are returned in an array of interger numbers. Each number is the position of the char in <parameter>text</parameter> after which a hyphenation can take place. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <!-- <member><function>ps_boot</function></member> --> <member><function>ps_show_boxed</function></member> <member>locale(1)</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-lineto.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-lineto.xml +++ phpdoc/en/reference/ps/functions/ps-lineto.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-lineto"> <refnamediv> <refname>ps_lineto</refname> <refpurpose>Draws a line</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_lineto</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> <para> Adds a straight line from the current point to the given coordinates to the current path. Use <function>ps_moveto</function> to set the starting point of the line. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_moveto</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-makespotcolor.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-makespotcolor.xml +++ phpdoc/en/reference/ps/functions/ps-makespotcolor.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-makespotcolor"> <refnamediv> <refname>ps_makespotcolor</refname> <refpurpose>Create spot color</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_lineto</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> </methodsynopsis> <para> Creates a spot color from the current fill color. The fill color must be defined in rgb, cmyk or gray colorspace. The spot color name can be an abitrary name. A spot color can be set as any color with <function>ps_setcolor</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setcolor</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-moveto.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-moveto.xml +++ phpdoc/en/reference/ps/functions/ps-moveto.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-moveto"> <refnamediv> <refname>ps_moveto</refname> <refpurpose>Sets current point</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_moveto</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> <para> Sets the current point to new coordinates. If this is the first call of <function>ps_moveto</function> after a previous path has been ended then it will start a new path. If this function is called in the middle of a path it will just set the current point and start a subpath. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_lineto</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-new.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-new.xml +++ phpdoc/en/reference/ps/functions/ps-new.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-new"> <refnamediv> <refname>ps_new</refname> <refpurpose>Creates a new PostScript document object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>ps_new</methodname> <void /> </methodsynopsis> <para> Creates a new document instance. It does not create the file on disk or in memory. It just sets up everything. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Resource of PostScript document or &false; on failure. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_delete</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-open-file.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-open-file.xml +++ phpdoc/en/reference/ps/functions/ps-open-file.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-open-file"> <refnamediv> <refname>ps_open_file</refname> <refpurpose>Opens a file for output</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_open_file</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> Creates a new file on disk and writes the PostScript document into it. The file will be closed when <function>ps_close</function> is called. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> If <parameter>filename</parameter> is not passed the document will be created in memory and all output will go straight to the browser. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_close</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-open-image-file.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-open-image-file.xml +++ phpdoc/en/reference/ps/functions/ps-open-image-file.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-open-image-file"> <refnamediv> <refname>ps_open_image_file</refname> <refpurpose>Opens image from file</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>ps_open_image_file</methodname> <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> </methodsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns identifier of image or zero in case of an error. The identifier is a positiv number greater 0. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_open_image</function></member> <member><function>ps_place_image</function></member> <member><function>ps_close_image</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-open-image.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-open-image.xml +++ phpdoc/en/reference/ps/functions/ps-open-image.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-open-image"> <refnamediv> <refname>ps_open_image</refname> <refpurpose>Reads an image for later placement</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>ps_open_image</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>type</parameter></methodparam> <methodparam><type>string</type><parameter>source</parameter></methodparam> <methodparam><type>string</type><parameter>data</parameter></methodparam> <methodparam><type>int</type><parameter>lenght</parameter></methodparam> <methodparam><type>int</type><parameter>width</parameter></methodparam> <methodparam><type>int</type><parameter>height</parameter></methodparam> <methodparam><type>int</type><parameter>components</parameter></methodparam> <methodparam><type>int</type><parameter>bpc</parameter></methodparam> <methodparam><type>string</type><parameter>params</parameter></methodparam> </methodsynopsis> <para> Reads an image which is already available in memory. The parameter <parameter>source</parameter> is currently not evaluated and assumed to be <literal>memory</literal>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns identifier of image or zero in case of an error. The identifier is a positiv number greater 0. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_open_image_file</function></member> <member><function>ps_place_image</function></member> <member><function>ps_close_image</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-place-image.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-place-image.xml +++ phpdoc/en/reference/ps/functions/ps-place-image.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-place-image"> <refnamediv> <refname>ps_place_image</refname> <refpurpose>Places image on the page</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_place_image</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>imageid</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> <methodparam><type>float</type><parameter>scale</parameter></methodparam> </methodsynopsis> <para> Places a formerly loaded image on the page. The image can be scaled. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_open_image</function></member> <member><function>ps_open_image_file</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-rect.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-rect.xml +++ phpdoc/en/reference/ps/functions/ps-rect.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-rect"> <refnamediv> <refname>ps_rect</refname> <refpurpose>Draws a rectangle</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_rect</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> <methodparam><type>float</type><parameter>height</parameter></methodparam> </methodsynopsis> <para> Draws a rectangle with its lower left corner at (<parameter>x</parameter>, <parameter>y</parameter>). The rectangle starts and ends in its lower left corner. If this function is called outside a path it will start a new path. If it is called within a path it will add the rectangle as a subpath. If the last drawing operation does not end in the lower left corner then there will be a gab in the path. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_arc</function></member> <member><function>ps_cirle</function></member> <member><function>ps_lineto</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-restore.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-restore.xml +++ phpdoc/en/reference/ps/functions/ps-restore.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-restore"> <refnamediv> <refname>ps_restore</refname> <refpurpose>Restore previously save context</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_restore</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Restores a previously saved graphics context. Any call of <function>ps_save</function> must be accompanied by a call to <function>ps_restore</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_save</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-rotate.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-rotate.xml +++ phpdoc/en/reference/ps/functions/ps-rotate.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-rotate"> <refnamediv> <refname>ps_rotate</refname> <refpurpose>Sets rotation factor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_rotate</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>rot</parameter></methodparam> </methodsynopsis> <para> Sets the rotation of the coordinate system. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_scale</function></member> <member><function>ps_translate</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-save.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-save.xml +++ phpdoc/en/reference/ps/functions/ps-save.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-save"> <refnamediv> <refname>ps_save</refname> <refpurpose>Save current context</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_save</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Saves the current graphics context, containing colors, translation and rotation settings and some more. A save context can be restored with <function>ps_restore</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_restore</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-scale.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-scale.xml +++ phpdoc/en/reference/ps/functions/ps-scale.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-scale"> <refnamediv> <refname>ps_scale</refname> <refpurpose>Sets scaling factor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_scale</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> <para> Sets horizontal and vertical scaling of the coordinate system. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_rotate</function></member> <member><function>ps_translate</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-border-color.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-border-color.xml +++ phpdoc/en/reference/ps/functions/ps-set-border-color.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-set-border-color"> <refnamediv> <refname>ps_set_border_color</refname> <refpurpose>Sets color of border for annotations</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_set_border_color</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>red</parameter></methodparam> <methodparam><type>float</type><parameter>green</parameter></methodparam> <methodparam><type>float</type><parameter>blue</parameter></methodparam> </methodsynopsis> <para> Annotations like the starting points of links are surounded by a rectancle. This function sets the color of the border line. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_set_border_dash</function></member> <member><function>ps_set_border_style</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-border-dash.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-border-dash.xml +++ phpdoc/en/reference/ps/functions/ps-set-border-dash.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-set-border-dash"> <refnamediv> <refname>ps_set_border_dash</refname> <refpurpose>Sets length of dashes for border of annotations</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_set_border_dash</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>black</parameter></methodparam> <methodparam><type>float</type><parameter>white</parameter></methodparam> </methodsynopsis> <para> Annotations like the starting points of links are surounded by a rectancle. This function sets the black and white portion of a ashed border line. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_set_border_color</function></member> <member><function>ps_set_border_style</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-border-style.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-border-style.xml +++ phpdoc/en/reference/ps/functions/ps-set-border-style.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-set-border-style"> <refnamediv> <refname>ps_set_border_style</refname> <refpurpose>Sets border style of annotations</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_set_border_style</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>style</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> </methodsynopsis> <para> Annotations like the starting points of links are surounded by a rectancle. This function sets the appearance and width of the border line. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>style</parameter></term> <listitem> <para> <parameter>style</parameter> can be <literal>solid</literal> or <literal>dashed</literal>. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>width</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_set_border_color</function></member> <member><function>ps_set_border_dash</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-color.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-color.xml +++ phpdoc/en/reference/ps/functions/ps-set-color.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-set-color"> <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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setdash.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setdash.xml +++ phpdoc/en/reference/ps/functions/ps-setdash.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-setdash"> <refnamediv> <refname>ps_setdash</refname> <refpurpose>Sets appearance of a dashed line</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setdash</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>on</parameter></methodparam> <methodparam><type>float</type><parameter>off</parameter></methodparam> </methodsynopsis> <para> Sets the length of the black and white portions of a dashed line. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setpolydash</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setflat.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setflat.xml +++ phpdoc/en/reference/ps/functions/ps-setflat.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-setflat"> <refnamediv> <refname>ps_setflat</refname> <refpurpose>Sets flatness</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setflat</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>value</parameter></term> <listitem> <para> The <parameter>value</parameter> must be between 0.2 and 1. </para> </listitem> </varlistentry> </variablelist> </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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setfont.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setfont.xml +++ phpdoc/en/reference/ps/functions/ps-setfont.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-setfont"> <refnamediv> <refname>ps_setfont</refname> <refpurpose>Sets font to use for following output</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setfont</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>fontid</parameter></methodparam> <methodparam><type>float</type><parameter>size</parameter></methodparam> </methodsynopsis> <para> Sets a font, which has to be loaded before with <function>ps_findfont</function>. Outputting text without setting a font before results in an error. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_findfont</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setgray.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setgray.xml +++ phpdoc/en/reference/ps/functions/ps-setgray.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-setgray"> <refnamediv> <refname>ps_setgray</refname> <refpurpose>Sets gray value</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setgray</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>gray</parameter></methodparam> </methodsynopsis> <para> Sets the gray value for all following drawing operations. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>gray</parameter></term> <listitem> <para> The value must be between 0 (white) and 1 (black). </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setcolor</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-info.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-info.xml +++ phpdoc/en/reference/ps/functions/ps-set-info.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-set-info"> <refnamediv> <refname>ps_set_info</refname> <refpurpose>Sets information fields of document</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_set_info</methodname> <methodparam><type>resource</type><parameter>p</parameter></methodparam> <methodparam><type>string</type><parameter>key</parameter></methodparam> <methodparam><type>string</type><parameter>val</parameter></methodparam> </methodsynopsis> <para> Sets certain information fields of the document. This fields will be shown as a comment in the header of the PostScript file. The values which can be set are <literal>Keywords</literal>, <literal>Subject</literal>, <literal>Title</literal>, <literal>Creator</literal>, <literal>Author</literal>, <literal>BoundingBox</literal>, and <literal>Orientation</literal>. Be aware that some of them has a meaning to PostScript viewers. </para> <para> The <literal>BoundingBox</literal> is usually set to the value given to the first page. This only works if <function>ps_findfont</function> has not been called before. In such cases the BoundingBox would be left unset unless you set it explicitly with this function. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_findfont</function></member> <member><function>ps_begin_page</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setlinecap.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setlinecap.xml +++ phpdoc/en/reference/ps/functions/ps-setlinecap.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-setlinecap"> <refnamediv> <refname>ps_setlinecap</refname> <refpurpose>Sets appearance of line ends</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setlinecap</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>type</parameter></methodparam> </methodsynopsis> <para> Sets how line ends look like. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setlinejoin</function></member> <member><function>ps_setlinewidth</function></member> <member><function>ps_setmiterlimit</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setlinejoin.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setlinejoin.xml +++ phpdoc/en/reference/ps/functions/ps-setlinejoin.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-setlinejoin"> <refnamediv> <refname>ps_setlinejoin</refname> <refpurpose>Sets how contected lines are joined</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setlinejoin</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>type</parameter></methodparam> </methodsynopsis> <para> Sets how lines are joined. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setlinecap</function></member> <member><function>ps_setlinewidth</function></member> <member><function>ps_setmiterlimit</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setlinewidth.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setlinewidth.xml +++ phpdoc/en/reference/ps/functions/ps-setlinewidth.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-setlinewidth"> <refnamediv> <refname>ps_setlinewidth</refname> <refpurpose>Sets width of a line</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setlinewidth</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> </methodsynopsis> <para> Sets the line width for all following drawing operations. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setlinecap</function></member> <member><function>ps_setlinejoin</function></member> <member><function>ps_setmiterlimit</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setmiterlimit.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setmiterlimit.xml +++ phpdoc/en/reference/ps/functions/ps-setmiterlimit.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-setmiterlimit"> <refnamediv> <refname>ps_setmiterlimit</refname> <refpurpose>Sets the miter limit</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setmiterlimit</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> If two lines join in a small angle and the line join is set to miter, then the resulting spike will be very long. The miter limit is the maximum ratio of the miter length (the length of the spike) and the line width. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setlinecap</function></member> <member><function>ps_setlinejoin</function></member> <member><function>ps_setlinewidth</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-parameter.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-parameter.xml +++ phpdoc/en/reference/ps/functions/ps-set-parameter.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-set-parameter"> <refnamediv> <refname>ps_set_parameter</refname> <refpurpose>Sets certain parameters</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_set_parameter</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam><type>string</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Sets several parameters which are used by many functions. Parameters are by definition string values. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_get_parameters</function></member> <member><function>ps_set_value</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setpolydash.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setpolydash.xml +++ phpdoc/en/reference/ps/functions/ps-setpolydash.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-setpolydash"> <refnamediv> <refname>ps_setpolydash</refname> <refpurpose>Sets appearance of a dashed line</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setpolydash</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>arr</parameter></methodparam> </methodsynopsis> <para> Sets the length of the black and white portions of a dashed line. <function>ps_setpolydash</function> is used to set more complicated dash patterns. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>arr</parameter></term> <listitem> <para> <parameter>arr</parameter> is a list of length elements alternately for the black and white portion. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setdash</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-text-pos.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-text-pos.xml +++ phpdoc/en/reference/ps/functions/ps-set-text-pos.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-set-text-pos"> <refnamediv> <refname>ps_set_test_pos</refname> <refpurpose>Sets position for text output</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_set_text_pos</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> <para> Set the postion for the next text output. You may alternatively set the x and y value separately by calling <function>ps_set_value</function> and choosing <literal>textx</literal> respectively <literal>texty</literal> as the value name. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_set_value</function></member> <member><function>ps_show</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-value.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-value.xml +++ phpdoc/en/reference/ps/functions/ps-set-value.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-set-value"> <refnamediv> <refname>ps_set_value</refname> <refpurpose>Sets certain values</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_set_value</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam><type>float</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Sets several values which are used by many functions. Parameters are by definition float values. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> The <parameter>name</parameter> can be one of the following: <variablelist> <varlistentry> <term>textrendering</term> <listitem> <para> The way how text is shown. </para> </listitem> </varlistentry> <varlistentry> <term>textx</term> <listitem> <para> The x coordinate for text output. </para> </listitem> </varlistentry> <varlistentry> <term>texty</term> <listitem> <para> The y coordinate for text output. </para> </listitem> </varlistentry> <varlistentry> <term>wordspacing</term> <listitem> <para> The distance between words relativ to the width of a space. </para> </listitem> </varlistentry> <varlistentry> <term>leading</term> <listitem> <para> The distance between lines in pixels. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_get_value</function></member> <member><function>ps_set_parameter</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-shading-pattern.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-shading-pattern.xml +++ phpdoc/en/reference/ps/functions/ps-shading-pattern.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-shading-pattern"> <refnamediv> <refname>ps_shading_pattern</refname> <refpurpose>Creates a pattern based on a shading</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>ps_shading_pattern</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>shadingid</parameter></methodparam> <methodparam><type>string</type><parameter>optlist</parameter></methodparam> </methodsynopsis> <para> Creates a pattern based on a shading, which has to be created before with <function>ps_shading</function>. Shading patterns can be used like regular patterns. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The identifier of the pattern or &false; in case of an error. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_shading</function></member> <member><function>ps_shfill</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-shading.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-shading.xml +++ phpdoc/en/reference/ps/functions/ps-shading.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-shading"> <refnamediv> <refname>ps_shading</refname> <refpurpose>Creates a shading for later use</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>ps_shading</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>type</parameter></methodparam> <methodparam><type>float</type><parameter>x0</parameter></methodparam> <methodparam><type>float</type><parameter>y0</parameter></methodparam> <methodparam><type>float</type><parameter>x1</parameter></methodparam> <methodparam><type>float</type><parameter>y1</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> <methodparam><type>string</type><parameter>optlist</parameter></methodparam> </methodsynopsis> <para> Creates a shading, which can be used by <function>ps_shfill</function> or <function>ps_shading_pattern</function>. </para> <para> The color of the shading can be in any color space except for <literal>pattern</literal>. </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 type of shading can be either <literal>radial</literal> or <literal>axial</literal>. Each shading starts with the current fill color and ends with the given color values passed in the parameters <parameter>c1</parameter> to <parameter>c4</parameter> (see <function>ps_setcolor</function> for their meaning). </para> </listitem> </varlistentry> <varlistentry> <term><parameter>x0, x1, y0, y1</parameter></term> <listitem> <para> The coordinates <parameter>x0</parameter>, <parameter>y0</parameter>, <parameter>x1</parameter>, <parameter>y1</parameter> are the start and end point of the shading. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>c1, c2, c3, c4</parameter></term> <listitem> <para> See <function>ps_setcolor</function> for their meaning. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>optlist</parameter></term> <listitem> <para> If the shading is of type <literal>radial</literal> the <parameter>optlist</parameter> must also contain the parameters <literal>r0</literal> and <literal>r1</literal> with the radius of the start and end circle. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the identifier of the pattern or &false; in case of an error. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_shading_pattern</function></member> <member><function>ps_shfill</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-shfill.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-shfill.xml +++ phpdoc/en/reference/ps/functions/ps-shfill.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-shfill"> <refnamediv> <refname>ps_shfill</refname> <refpurpose>Fills an area with a shading</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_shfill</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>shadingid</parameter></methodparam> </methodsynopsis> <para> Fills an area with a shading, which has to be created before with <function>ps_shading</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_shading</function></member> <member><function>ps_shading_pattern</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-show-boxed.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-show-boxed.xml +++ phpdoc/en/reference/ps/functions/ps-show-boxed.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-show-boxed"> <refnamediv> <refname>ps_show_boxed</refname> <refpurpose>Output text in a box</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>ps_show_boxed</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>text</parameter></methodparam> <methodparam><type>float</type><parameter>left</parameter></methodparam> <methodparam><type>float</type><parameter>bottom</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> <methodparam><type>float</type><parameter>height</parameter></methodparam> <methodparam><type>string</type><parameter>hmode</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>feature</parameter></methodparam> </methodsynopsis> <para> Outputs a text in a given box. The lower left corner of the box is at (<parameter>left</parameter>, <parameter>bottom</parameter>). Line breaks will be inserted where needed. Multiple spaces are treated as one. Tabulators are treated as spaces. </para> <para> The text will be hyphenated if the parameter "hyphenation" is set to "true" and the parameter "hyphendict" contains a valid filename for a hyphenation file. The line spacing is taken from the value "leading". Paragraphs can be separated by an empty line just like in TeX. If the value "parindent" is set to value > 0.0 then the first n lines will be indented. The number n of lines is set by the parameter "numindentlines". In order to prevent indenting of the first m paragraphs set the value "parindentskip" to a positive number. </para> </refsect1> <refsect1> <title>Used parameters</title> <para> The output of <function>ps_show_boxed</function> can be configured with several parameters and values which must be set with either <function>ps_set_parameter</function> or <function>ps_set_value</function>. Beside the parameters and values which affect text output the following parameters and values are evaluated. <variablelist> <varlistentry> <term>leading (value)</term> <listitem> <para>Distance between baselines of two consecutive lines.</para> </listitem> </varlistentry> <varlistentry> <term>linebreak (parameter)</term> <listitem> <para> Set to "true" if you want a carrige return to start a new line instead of treating it as a space. Defaults to "false". </para> </listitem> </varlistentry> <varlistentry> <term>parbreak (parameter)</term> <listitem> <para> Set to "true" if you want a carrige return on a single line to start a new paragraph instead of treating it as a space. Defaults to "true". </para> </listitem> </varlistentry> <varlistentry> <term>hyphenation (parameter)</term> <listitem> <para> Set to "true" in order to turn hyphenation on. This requires a dictionary to be set with the parameter "hyphendict". Defaults to "false". </para> </listitem> </varlistentry> <varlistentry> <term>hyphendict (parameter)</term> <listitem> <para> Filename of the dictionary used for hyphenation pattern (see below). </para> </listitem> </varlistentry> <varlistentry> <term>hyphenminchar (value)</term> <listitem> <para> The number of chars which must at least be left over before or after the hyphen. This implies that only words of at least two times this value will be hyphenated. The default value is three. Setting a value of zero will result in the default value. </para> </listitem> </varlistentry> <varlistentry> <term>parindent (value)</term> <listitem> <para> Set the amount of space in pixel for indenting the first m lines of a paragraph. m can be set with the value "numindentlines". </para> </listitem> </varlistentry> <varlistentry> <term>parskip (value)</term> <listitem> <para> Set the amount of extra space in pixel between paragraphs. Defaults to 0 which will result in a normal line distance. </para> </listitem> </varlistentry> <varlistentry> <term>numindentlines (value)</term> <listitem> <para> Number of lines from the start of the paragraph which will be indented. Defaults to 1. </para> </listitem> </varlistentry> <varlistentry> <term>parindentskip (value)</term> <listitem> <para> Number of paragraphs in the box whose first lines will not be indented. This defaults to 0. This is useful for paragraphs right after a section heading or text being continued in a second box. In both case one would set this to 1. </para> </listitem> </varlistentry> <varlistentry> <term>linenumbermode (parameter)</term> <listitem> <para> Set how lines are to be numbered. Possible values are "box" for numbering lines in the whole box or "paragraph" to number lines within each paragraph. </para> </listitem> </varlistentry> <varlistentry> <term>linenumberspace (value)</term> <listitem> <para> The space for the column left of the numbered line containing the line number. The line number will be right justified into this column. Defaults to 20. </para> </listitem> </varlistentry> <varlistentry> <term>linenumbersep (value)</term> <listitem> <para> The space between the column with line numbers and the line itself. Defaults to 5. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1> <title>Hyphenation</title> <para> Text is hyphenated if the parameter <literal>hyphenation</literal> is set to true and a valid hyphenation dictory is set. pslib does not ship its own hyphenation dictionary but uses one from openoffice, scribus or koffice. You can find their dictionaries for different languages in one of the following directories if the software is installed: <simplelist> <member> <filename class="directory">/usr/share/apps/koffice/hyphdicts/</filename> </member> <member> <filename class="directory">/usr/lib/scribus/dicts/</filename> </member> <member> <filename class="directory">/usr/lib/openoffice/share/dict/ooo/</filename> </member> </simplelist> Currently scribus appears to have the most complete hyphenation dictionaries. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>text</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>left</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>bottom</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>width</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>height</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>hmode</parameter></term> <listitem> <para> The parameter <parameter>hmode</parameter> can be "justify", "fulljustify", "right", "left", or "center". The difference of "justify" and "fulljustify" just affects the last line of the box. In fulljustify mode the last line will be left and right justified unless this is also the last line of paragraph. In justify mode it will always be left justified. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>feature</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Number of charactes that could not be written. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_continue_text</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-show.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-show.xml +++ phpdoc/en/reference/ps/functions/ps-show.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-show"> <refnamediv> <refname>ps_show</refname> <refpurpose>Output text</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_show</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> Output a text at the current text position. The function will issue an error if no font was set before with <function>ps_setfont</function>. </para> <para> <function>ps_show</function> evaluates the following parameters and values as set by <function>ps_set_parameter</function> and <function>ps_set_value</function>. </para> <variablelist> <varlistentry> <term>charspacing (value)</term> <listitem> <para> Distance between two consecutive glyphs. If this value is unequal to zero then all ligatures will be resolved. Values less than zero are allowed. </para> </listitem> </varlistentry> <varlistentry> <term>kerning (parameter)</term> <listitem> <para> Setting this parameter to "false" will turn off kerning. Kerning is turned on by default. </para> </listitem> </varlistentry> <varlistentry> <term>ligatures (parameter)</term> <listitem> <para> Setting this parameter to "false" will turn off the use of ligatures. Ligatures are turned on by default. </para> </listitem> </varlistentry> <varlistentry> <term>underline (parameter)</term> <listitem> <para> Setting this parameter to "true" will turn on underlining. Underlining is turned off by default. </para> </listitem> </varlistentry> <varlistentry> <term>overline (parameter)</term> <listitem> <para> Setting this parameter to "true" will turn on overlining. Overlining is turned off by default. </para> </listitem> </varlistentry> <varlistentry> <term>strikeout (parameter)</term> <listitem> <para> Setting this parameter to "true" will turn on striking out. Striking out is turned off by default. </para> </listitem> </varlistentry> </variablelist> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_continue_text</function></member> <member><function>ps_show_xy</function></member> <member><function>ps_setfont</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-show-xy.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-show-xy.xml +++ phpdoc/en/reference/ps/functions/ps-show-xy.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-show-xy"> <refnamediv> <refname>ps_show_xy</refname> <refpurpose>Output text at given position</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_show_xy</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>text</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> <para> Output a text at the given text position. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_continue_text</function></member> <member><function>ps_show</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-string-geometry.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-string-geometry.xml +++ phpdoc/en/reference/ps/functions/ps-string-geometry.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-string-geometry"> <refnamediv> <refname>ps_string_geometry</refname> <refpurpose>Gets geometry of a string</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <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> </methodsynopsis> <para> This function is similar to <function>ps_stringwidth</function> but returns an array of dimensions. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> An array of the dimensions of a string. The element 'width' contains the width of the string as returned by <function>ps_stringwidth</function>. The element 'descender' contains the maximum descender and 'ascender' the maximum ascender of the string. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_continue_text</function></member> <member><function>ps_stringwidth</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-stringwidth.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-stringwidth.xml +++ phpdoc/en/reference/ps/functions/ps-stringwidth.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ps.xml, last change in rev --> <refentry id="function.ps-stringwidth"> <refnamediv> <refname>ps_stringwidth</refname> <refpurpose>Gets width of a string</refpurpose> </refnamediv> <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> </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> </refsect1> <refsect1> <title>Return value</title> <para>Width of a string in points.</para> </refsect1> <refsect1> <title>See also</title> <para><function>ps_string_geometry</function></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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-stroke.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-stroke.xml +++ phpdoc/en/reference/ps/functions/ps-stroke.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-stroke"> <refnamediv> <refname>ps_stroke</refname> <refpurpose>Draws the current path</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_stroke</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Draws the path constructed with previously called drawing functions like <function>ps_lineto</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_closepath_stroke</function></member> <member><function>ps_fill</function></member> <member><function>ps_fill_stroke</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-symbol-name.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-symbol-name.xml +++ phpdoc/en/reference/ps/functions/ps-symbol-name.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-symbol-name"> <refnamediv> <refname>ps_symbol_name</refname> <refpurpose>Gets name of a glyph</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <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> </methodsynopsis> <para> This function needs an Adobe font metrics file to know which glyphs are available. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>ord</parameter></term> <listitem> <para> The parameter <parameter>ord</parameter> is the position of the glyph in the font encoding vector. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>fontid</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The name of a glyph in the given font. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_symbol</function></member> <member><function>ps_symbol_width</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-symbol-width.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-symbol-width.xml +++ phpdoc/en/reference/ps/functions/ps-symbol-width.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-symbol-width"> <refnamediv> <refname>ps_symbol_width</refname> <refpurpose>Gets width of a glyph</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <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> </methodsynopsis> <para> Calculates the width of a glyph 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. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>ord</parameter></term> <listitem> <para> The parameter <parameter>ord</parameter> is the position of the glyph in the font encoding vector. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>fontid</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>size</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The width of a glyph in points. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_symbol</function></member> <member><function>ps_symbol_name</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-symbol.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-symbol.xml +++ phpdoc/en/reference/ps/functions/ps-symbol.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-symbol"> <refnamediv> <refname>ps_symbol</refname> <refpurpose>Output a glyph</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_symbol</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>ord</parameter></methodparam> </methodsynopsis> <para> Output the glyph at position <parameter>ord</parameter> in the font encoding vector of the current font. The font encoding for a font can be set when loading the font with <function>ps_findfont</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_symbol_name</function></member> <member><function>ps_symbol_width</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-translate.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-translate.xml +++ phpdoc/en/reference/ps/functions/ps-translate.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-translate"> <refnamediv> <refname>ps_translate</refname> <refpurpose>Sets translation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_translate</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> <para> Sets a new initial point of the coordinate system. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_scale</function></member> <member><function>ps_rotate</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/configure.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/configure.xml +++ phpdoc/en/reference/ps/configure.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <section id="ps.installation"> &reftitle.install; <para> A short installation note: just type <screen> $ pear install ps </screen> in your console. </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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/constants.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/constants.xml +++ phpdoc/en/reference/ps/constants.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <section id="ps.constants"> &reftitle.constants; &extension.constants; <para> The following two tables lists all constants defined by the ps extension. <table id="ps.table-linecap"> <title>Contants for line caps</title> <tgroup cols="2"> <thead> <row> <entry>Name</entry> <entry>Meaning</entry> </row> </thead> <tbody> <row> <entry>ps_LINECAP_BUTT</entry> <entry></entry> </row> <row> <entry>ps_LINECAP_ROUND</entry> <entry></entry> </row> <row> <entry>ps_LINECAP_SQUARED</entry> <entry></entry> </row> </tbody> </tgroup> </table> <table id="ps.table-linejoin"> <title>Contants for line joins</title> <tgroup cols="2"> <thead> <row> <entry>Name</entry> <entry>Meaning</entry> </row> </thead> <tbody> <row> <entry>ps_LINEJOIN_MITER</entry> <entry></entry> </row> <row> <entry>ps_LINEJOIN_ROUND</entry> <entry></entry> </row> <row> <entry>ps_LINEJOIN_BEVEL</entry> <entry></entry> </row> </tbody> </tgroup> </table> </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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/.cvsignore?r=1.1&p=1 Index: phpdoc/en/reference/ps/.cvsignore +++ phpdoc/en/reference/ps/.cvsignore functions.xml http://cvs.php.net/co.php/phpdoc/en/reference/ps/reference.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/reference.xml +++ phpdoc/en/reference/ps/reference.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- Author: Uwe Steinmann <steinm@php.net> --> <reference id="ref.ps"> <title>PostScript document creation</title> <titleabbrev>PS</titleabbrev> <partintro> <section id="ps.intro"> &reftitle.intro; <para> This module allows to create PostScript documents. It has many similarities with the pdf extension. Actually the API is almost identical and one can in many cases just replace the prefix of each function from pdf_ to ps_. This also works for functions which has no meaning in the PostScript document (like adding hyperlinks) but will have an effect if the document is converted to PDF. </para> <para>Documents created by this extension are sometimes even superior to documents created with the pdf extension, because pslib's text rendering functions can handle kerning, hyphenation and ligatures which results in much better output of boxed text. </para> </section> <section id="ps.requirements"> &reftitle.required; <para> You need at least PHP 4.3.0 and pslib >= 0.1.12. The ps library (pslib) is available at <ulink url="&url.pslib;">&url.pslib;</ulink>. </para> </section> &reference.ps.configure; <section id="ps.configuration"> &reftitle.runtime; &no.config; </section> &reference.ps.constants; <section id="ps.contact"> <title>Contact Information</title> <para> If you have comments, bugfixes, enhancements for either this extension or pslib then please drop me a mail <ulink url="mailto:steinm@php.net">steinm@php.net</ulink>. Any help is very welcome. </para> </section> </partintro> &reference.ps.functions; </reference> <!-- 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 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 -->
http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-add-bookmark.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-add-bookmark.xml +++ phpdoc/en/reference/ps/functions/ps-add-bookmark.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-add-bookmark"> <refnamediv> <refname>ps_add_bookmark</refname> <refpurpose>Add bookmark to current page</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <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> </methodsynopsis> <para> Adds a bookmark for the current page. Bookmarks usually appear in PDF-Viewers left of the page in a hierachical tree. Clicking on a bookmark will jump to the given page. </para> <para> The bookmark has no meaning if the document is printed or viewed but it will be used if the document is converted to pdf by either Acrobat Distiller™ or Ghostview. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>text</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>parent</parameter></term> <listitem> <para> The parameter <parameter>parent</parameter> is another bookmark which is used as the parent of the new bookmark. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>open</parameter></term> <listitem> <para> If <parameter>open</parameter> is unequal to zero the bookmark will be shown open by the pdf viewer. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The returned value is a reference for the bookmark. It is only used if the bookmark shall be used as a parent. </para> <para> Returns the identifier of the bookmark or zero in case of an error. The identifier is a positiv number. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_add_launchlink</function></member> <member><function>ps_add_pdflink</function></member> <member><function>ps_add_weblink</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-add-launchlink.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-add-launchlink.xml +++ phpdoc/en/reference/ps/functions/ps-add-launchlink.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-add-launchlink"> <refnamediv> <refname>ps_add_launchlink</refname> <refpurpose>Adds link which launches file</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_add_launchlink</methodname> <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>filename</parameter></methodparam> </methodsynopsis> <para> Places a hyperlink at the given position pointing to a file program which is being started when clicked on. The hyperlink start is a rectangle with its lower left corner at (llx, lly) and its upper right corner at (urx, ury). The rectangle has by default a thin blue border. </para> <para> The hyperlink will not be visible if the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat Distiller™ or Ghostview. </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>llx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>lly</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>urx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>ury</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> --> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_add_locallink</function></member> <member><function>ps_add_pdflink</function></member> <member><function>ps_add_weblink</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-add-locallink.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-add-locallink.xml +++ phpdoc/en/reference/ps/functions/ps-add-locallink.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-add-locallink"> <refnamediv> <refname>ps_add_locallink</refname> <refpurpose>Adds link to a page in the same document</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_add_locallink</methodname> <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>int</type><parameter>page</parameter></methodparam> <methodparam><type>string</type><parameter>dest</parameter></methodparam> </methodsynopsis> <para> Places a hyperlink at the given position pointing to a page in the same document. Clicking on the link will jump to the given page. The first page in a document has number 1. </para> <para> The hyperlink start is a rectangle with its lower left corner at (<parameter>llx</parameter>, <parameter>lly</parameter>) and its upper right corner at (<parameter>urx</parameter>, <parameter>ury</parameter>). The rectangle has by default a thin blue border. </para> <para> The hyperlink will not be visible if the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat Distiller™ or Ghostview. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>llx</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>lly</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>urx</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>ury</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>page</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>dest</parameter></term> <listitem> <para> The parameter <parameter>dest</parameter> determines how the document is being viewed. It can be <literal>fitpage</literal>, <literal>fitwidth</literal>, <literal>fitheight</literal>, or <literal>fitbbox</literal>. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_add_launchlink</function></member> <member><function>ps_add_pdflink</function></member> <member><function>ps_add_weblink</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-add-note.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-add-note.xml +++ phpdoc/en/reference/ps/functions/ps-add-note.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-add-note"> <refnamediv> <refname>ps_add_note</refname> <refpurpose>Adds note to current page</refpurpose> </refnamediv> <refsect1 role="description"> &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> </methodsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_add_pdflink</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-add-pdflink.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-add-pdflink.xml +++ phpdoc/en/reference/ps/functions/ps-add-pdflink.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-add-pdflink"> <refnamediv> <refname>ps_add_pdflink</refname> <refpurpose>Adds link to a page in a second pdf document</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_add_pdflink</methodname> <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>filename</parameter></methodparam> <methodparam><type>int</type><parameter>page</parameter></methodparam> <methodparam><type>string</type><parameter>dest</parameter></methodparam> </methodsynopsis> <para> Places a hyperlink at the given position pointing to a second pdf document. Clicking on the link will branch to the document at the given page.The first page in a document has number 1. </para> <para> The hyperlink start is a rectangle with its lower left corner at (<parameter>llx</parameter>, <parameter>lly</parameter>) and its upper right corner at (<parameter>urx</parameter>, <parameter>ury</parameter>). The rectangle has by default a thin blue border. </para> <para> The hyperlink will not be visible if the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat Distiller™ or Ghostview. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>llx</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>lly</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>urx</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>ury</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>page</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>dest</parameter></term> <listitem> <para> The parameter <parameter>dest</parameter> determines how the document is being viewed. It can be <literal>fitpage</literal>, <literal>fitwidth</literal>, <literal>fitheight</literal>, or <literal>fitbbox</literal>. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_add_launchlink</function></member> <member><function>ps_add_locallink</function></member> <member><function>ps_add_weblink</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-add-weblink.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-add-weblink.xml +++ phpdoc/en/reference/ps/functions/ps-add-weblink.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-add-weblink"> <refnamediv> <refname>ps_add_weblink</refname> <refpurpose>Adds link to a web location</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_add_weblink</methodname> <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>url</parameter></methodparam> </methodsynopsis> <para> Places a hyperlink at the given position pointing to a web page. The hyperlink start is a rectangle with its lower left corner at (llx, lly) and its upper right corner at (urx, ury). The rectangle has by default a thin blue border. </para> <para> The hyperlink will not be visible if the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat Distiller™ or Ghostview. </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>llx</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>lly</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>urx</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>ury</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>url</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> --> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_add_launchlink</function></member> <member><function>ps_add_locallink</function></member> <member><function>ps_add_pdflink</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-arcn.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-arcn.xml +++ phpdoc/en/reference/ps/functions/ps-arcn.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-arcn"> <refnamediv> <refname>ps_arcn</refname> <refpurpose>Draws an arc clockwise</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_arcn</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> <methodparam><type>float</type><parameter>radius</parameter></methodparam> <methodparam><type>float</type><parameter>alpha</parameter></methodparam> <methodparam><type>float</type><parameter>beta</parameter></methodparam> </methodsynopsis> <para> Draws a portion of a circle with at middle point at (<parameter>x</parameter>, <parameter>y</parameter>). The arc starts at an angle of <parameter>alpha</parameter> and ends at an angle of <parameter>beta</parameter>. It is draws clockwise. The subpath added to the current path starts on the arc at angle <parameter>beta</parameter> and ends on the arc at angle <parameter>alpha</parameter>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_arc</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-arc.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-arc.xml +++ phpdoc/en/reference/ps/functions/ps-arc.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-arc"> <refnamediv> <refname>ps_arc</refname> <refpurpose>Draws an arc counterclockwise</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_arc</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> <methodparam><type>float</type><parameter>radius</parameter></methodparam> <methodparam><type>float</type><parameter>alpha</parameter></methodparam> <methodparam><type>float</type><parameter>beta</parameter></methodparam> </methodsynopsis> <para> Draws a portion of a circle with at middle point at (<parameter>x</parameter>, <parameter>y</parameter>). The arc starts at an angle of <parameter>alpha</parameter> and ends at an angle of <parameter>beta</parameter>. It is draw counterclockwise. The subpath added to the current path starts on the arc at angle <parameter>alpha</parameter> and ends on the arc at angle <parameter>beta</parameter>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_arcn</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-begin-page.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-begin-page.xml +++ phpdoc/en/reference/ps/functions/ps-begin-page.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-begin-page"> <refnamediv> <refname>ps_begin_page</refname> <refpurpose>Start a new page</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_begin_page</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> <methodparam><type>float</type><parameter>height</parameter></methodparam> </methodsynopsis> <para> Starts a new page. Though the parameters <parameter>width</parameter> and <parameter>height</parameter> imply a different page size for each page, this is not possible in PostScript. The first call of <function>ps_begin_page</function> will set the page size for the whole document. Consecutive calls will have no effect, except for creating a new page. The situation is different if you indent to convert the PostScript document into PDF. This function places pdfmarks into the document which can set the size for each page indiviually. The resulting PDF document will have different page sizes. </para> <para> Each page is encapsulated into save/restore. This means, that most of the settings made on one page will not be retained on the next page. </para> <para> If there is up to the first call of <function>ps_begin_page</function> no call of <function>ps_findfont</function>, then the header of the PostScript document will be output and the bounding box will be set to the size of the first page. If <function>ps_findfont</function> was called before the header has been output already, the document will not have a valid bounding box. In order to prevent this, one should call <function>ps_set_info</function> to set the info field <literal>BoundingBox</literal> and possibly <literal>Orientation</literal> before any <function>ps_findfont</function> or <function>ps_begin_page</function> calls. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_end_page</function></member> <member><function>ps_findfont</function></member> <member><function>ps_set_info</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-begin-pattern.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-begin-pattern.xml +++ phpdoc/en/reference/ps/functions/ps-begin-pattern.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-begin-pattern"> <refnamediv> <refname>ps_begin_pattern</refname> <refpurpose>Start a new pattern</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>ps_begin_pattern</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> <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> </methodsynopsis> <para> Starts a new pattern. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The identifier of the pattern or &false; in case of an error. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_end_pattern</function></member> <member><function>ps_setcolor</function></member> <member><function>ps_shading_pattern</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-begin-template.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-begin-template.xml +++ phpdoc/en/reference/ps/functions/ps-begin-template.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-begin-template"> <refnamediv> <refname>ps_begin_template</refname> <refpurpose>Start a new template</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_begin_template</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> <methodparam><type>float</type><parameter>height</parameter></methodparam> </methodsynopsis> <para> Starts a new template. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_end_template</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-circle.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-circle.xml +++ phpdoc/en/reference/ps/functions/ps-circle.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-circle"> <refnamediv> <refname>ps_circle</refname> <refpurpose>Draws a circle</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_circle</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> <methodparam><type>float</type><parameter>radius</parameter></methodparam> </methodsynopsis> <para>Draws a circle with its middle point at (<parameter>x</parameter>, <parameter>y</parameter>). The circle starts and ends at position (<parameter>x</parameter>+<parameter>radius</parameter>, <parameter>y</parameter>). If this function is called outside a path it will start a new path. If it is called within a path it will add the circle as a subpath. If the last drawing operation does not end in point (<parameter>x</parameter>+<parameter>radius</parameter>, <parameter>y</parameter>) then there will be a gab in the path. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_arc</function></member> <member><function>ps_arcn</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-clip.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-clip.xml +++ phpdoc/en/reference/ps/functions/ps-clip.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-clip"> <refnamediv> <refname>ps_clip</refname> <refpurpose>Clips drawing to current path</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_clip</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Takes the current path and uses it to define the border of a clipping area. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_closepath</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-close-image.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-close-image.xml +++ phpdoc/en/reference/ps/functions/ps-close-image.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-close-image"> <refnamediv> <refname>ps_close_image</refname> <refpurpose>Closes image and frees memory</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_close_image</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>imageid</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_open_image</function></member> <member><function>ps_open_image_file</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-closepath-stroke.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-closepath-stroke.xml +++ phpdoc/en/reference/ps/functions/ps-closepath-stroke.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-closepath-stroke"> <refnamediv> <refname>ps_closepath_stroke</refname> <refpurpose>Closes and strokes path</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_closepath_stroke</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Connects the last point with first point of a path and draws the resulting closed line. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_closepath</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-closepath.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-closepath.xml +++ phpdoc/en/reference/ps/functions/ps-closepath.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-closepath"> <refnamediv> <refname>ps_closepath</refname> <refpurpose>Closes path</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_closepath</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Connects the last point with first point of a path. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_clip</function></member> <member><function>ps_closepath_stroke</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-close.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-close.xml +++ phpdoc/en/reference/ps/functions/ps-close.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-close"> <refnamediv> <refname>ps_close</refname> <refpurpose>Closes a PostScript document</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_close</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Closes the PostScript document. </para> <para> This function outputs a last line into the PostScript document, which is a PostScript comment containing the number of pages. It also writes the bookmark tree. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_open_file</function></member> <member><function>ps_delete</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-continue-text.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-continue-text.xml +++ phpdoc/en/reference/ps/functions/ps-continue-text.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-continue-text"> <refnamediv> <refname>ps_continue_text</refname> <refpurpose>Continue text in next line</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_continue_text</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> Output a text one line below the last outputed line. The line spacing is taken from the value "leading" which must be set with <function>ps_set_value</function> in points. The actual position of the text is determined by the values "textx" and "texty" which can be requested with <function>ps_get_value</function> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_show</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-curveto.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-curveto.xml +++ phpdoc/en/reference/ps/functions/ps-curveto.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-curveto"> <refnamediv> <refname>ps_curveto</refname> <refpurpose>Draws a curve</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_curveto</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x1</parameter></methodparam> <methodparam><type>float</type><parameter>y1</parameter></methodparam> <methodparam><type>float</type><parameter>x2</parameter></methodparam> <methodparam><type>float</type><parameter>y2</parameter></methodparam> <methodparam><type>float</type><parameter>x3</parameter></methodparam> <methodparam><type>float</type><parameter>y3</parameter></methodparam> </methodsynopsis> <para> Draws a curve described by the three given points. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_lineto</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-delete.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-delete.xml +++ phpdoc/en/reference/ps/functions/ps-delete.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-delete"> <refnamediv> <refname>ps_delete</refname> <refpurpose>Deletes all resources of a PostScript document</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_delete</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Mainly frees memory used by the document. Also closes a file, if it was not closed before with <function>ps_close</function>. You should in any case close the file with <function>ps_close</function> before, because <function>ps_close</function> not just closes the file but also outputs a last line containing the PostScript comment with the number of pages in the document. Without this comment, a PostScript viewer may not show the number of pages propperly. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_close</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-end-page.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-end-page.xml +++ phpdoc/en/reference/ps/functions/ps-end-page.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-end-page"> <refnamediv> <refname>ps_end_page</refname> <refpurpose>End a page</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_end_page</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Ends a page which was started with <function>ps_begin_page</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_begin_page</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-end-pattern.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-end-pattern.xml +++ phpdoc/en/reference/ps/functions/ps-end-pattern.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-end-pattern"> <refnamediv> <refname>ps_end_pattern</refname> <refpurpose>End a page</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_end_pattern</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Ends a pattern which was started with <function>ps_begin_pattern</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_begin_pattern</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-end-template.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-end-template.xml +++ phpdoc/en/reference/ps/functions/ps-end-template.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-end-template"> <refnamediv> <refname>ps_end_template</refname> <refpurpose>End a template</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_end_template</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Ends a template which was started with <function>ps_begin_template</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_begin_template</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-fill-stroke.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-fill-stroke.xml +++ phpdoc/en/reference/ps/functions/ps-fill-stroke.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-fill-stroke"> <refnamediv> <refname>ps_fill_stroke</refname> <refpurpose>Fills and strokes the current path</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_fill_stroke</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Fills and draws the path constructed with previously called drawing functions like <function>ps_lineto</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_fill</function></member> <member><function>ps_stroke</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-fill.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-fill.xml +++ phpdoc/en/reference/ps/functions/ps-fill.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-fill"> <refnamediv> <refname>ps_fill</refname> <refpurpose>Fills the current path</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_fill</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Fills the path constructed with previously called drawing functions like <function>ps_lineto</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_fill_stroke</function></member> <member><function>ps_stroke</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-findfont.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-findfont.xml +++ phpdoc/en/reference/ps/functions/ps-findfont.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-findfont"> <refnamediv> <refname>ps_findfont</refname> <refpurpose>Loads a font</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>ps_findfont</methodname> <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> </methodsynopsis> <para> Loads a font for later use. Before text is output with a loaded font it must be set with <function>ps_setfont</function>. This function needs the adobe font metric file in order to calculate the space used up by the characters. A font which is loaded within a page will only be available on that page. Fonts which are to be used in the complete document has to be loaded before the first call of <function>ps_begin_page</function>. Calling <function>ps_findfont</function> between pages will make that font available for all following pages. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>fontname</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>encoding</parameter></term> <listitem> <para> <function>ps_findfont</function> will try to load the file passed in the parameter <parameter>encoding</parameter>. Encoding files are of the same syntax as those used by <command>dvips(1)</command>. They contain a font encoding vector (which is currently not used but must be present) and a list of extra ligatures to extend the list of ligatures derived from the afm file. </para> <para> <parameter>encoding</parameter> can be &null; or the empty string if the default encoding (TeXBase1) shall be used. </para> <para>If the encoding is set to <literal>builtin</literal> then there will be no reencoding and the font specific encoding will be used. This is very useful with symbol fonts. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>embed</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the identifier of the font or zero in case of an error. The identifier is a positiv number. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_begin_page</function></member> <member><function>ps_setfont</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-get-buffer.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-get-buffer.xml +++ phpdoc/en/reference/ps/functions/ps-get-buffer.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-get-buffer"> <refnamediv> <refname>ps_get_buffer</refname> <refpurpose>Fetches the full buffer containig the generated PS data</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>ps_get_buffer</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para>Not yet implemented</para> &warn.undocumented.func; </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_open_file</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-get-parameter.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-get-parameter.xml +++ phpdoc/en/reference/ps/functions/ps-get-parameter.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-get-parameter"> <refnamediv> <refname>ps_get_parameter</refname> <refpurpose>Gets certain parameters</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>ps_get_parameter</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>modifier</parameter></methodparam> </methodsynopsis> <para> Gets several parameters which were set by <function>ps_set_parameter</function>. Parameters are by definition string values. This function cannot be used to retrieve resources which were also set by <function>ps_set_parameter</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the value of the parameter or &false;. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_set_parameter</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-get-value.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-get-value.xml +++ phpdoc/en/reference/ps/functions/ps-get-value.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-get-value"> <refnamediv> <refname>ps_get_value</refname> <refpurpose>Gets certain values</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>float</type><methodname>ps_get_value</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>modifier</parameter></methodparam> </methodsynopsis> <para>Gets several values which were set by <function>ps_set_value</function>. Parameters are by definition float values. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>modifier</parameter></term> <listitem> <para> The parameter <parameter>modifier</parameter> specifies the resource for which the value is to be retrieved. This can be the id of a font or an image. It must be 0.0 if not used. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the value of the parameter or &false;. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_set_value</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-hyphenate.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-hyphenate.xml +++ phpdoc/en/reference/ps/functions/ps-hyphenate.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-hyphenate"> <refnamediv> <refname>ps_hyphenate</refname> <refpurpose>Hyphenates a word</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>ps_hyphenate</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> Hyphenates the passed word. <function>ps_hyphenate</function> evaluates the value hyphenminchars and the parameter hyphendict. hyphendict must be set before calling this function. </para> <para> This function requires the locale category LC_CTYPE to be set propperly. This is done when the extension is initialized by using the enviroment variables. On Unix systems read the man page of locale. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>text</parameter></term> <listitem> <para> <parameter>text</parameter> should not contain any non alpha characters. Possible positions for breaks are returned in an array of interger numbers. Each number is the position of the char in <parameter>text</parameter> after which a hyphenation can take place. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <!-- <member><function>ps_boot</function></member> --> <member><function>ps_show_boxed</function></member> <member>locale(1)</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-lineto.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-lineto.xml +++ phpdoc/en/reference/ps/functions/ps-lineto.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-lineto"> <refnamediv> <refname>ps_lineto</refname> <refpurpose>Draws a line</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_lineto</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> <para> Adds a straight line from the current point to the given coordinates to the current path. Use <function>ps_moveto</function> to set the starting point of the line. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_moveto</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-makespotcolor.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-makespotcolor.xml +++ phpdoc/en/reference/ps/functions/ps-makespotcolor.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-makespotcolor"> <refnamediv> <refname>ps_makespotcolor</refname> <refpurpose>Create spot color</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_lineto</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> </methodsynopsis> <para> Creates a spot color from the current fill color. The fill color must be defined in rgb, cmyk or gray colorspace. The spot color name can be an abitrary name. A spot color can be set as any color with <function>ps_setcolor</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setcolor</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-moveto.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-moveto.xml +++ phpdoc/en/reference/ps/functions/ps-moveto.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-moveto"> <refnamediv> <refname>ps_moveto</refname> <refpurpose>Sets current point</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_moveto</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> <para> Sets the current point to new coordinates. If this is the first call of <function>ps_moveto</function> after a previous path has been ended then it will start a new path. If this function is called in the middle of a path it will just set the current point and start a subpath. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_lineto</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-new.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-new.xml +++ phpdoc/en/reference/ps/functions/ps-new.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-new"> <refnamediv> <refname>ps_new</refname> <refpurpose>Creates a new PostScript document object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>ps_new</methodname> <void /> </methodsynopsis> <para> Creates a new document instance. It does not create the file on disk or in memory. It just sets up everything. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Resource of PostScript document or &false; on failure. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_delete</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-open-file.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-open-file.xml +++ phpdoc/en/reference/ps/functions/ps-open-file.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-open-file"> <refnamediv> <refname>ps_open_file</refname> <refpurpose>Opens a file for output</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_open_file</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> Creates a new file on disk and writes the PostScript document into it. The file will be closed when <function>ps_close</function> is called. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> If <parameter>filename</parameter> is not passed the document will be created in memory and all output will go straight to the browser. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_close</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-open-image-file.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-open-image-file.xml +++ phpdoc/en/reference/ps/functions/ps-open-image-file.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-open-image-file"> <refnamediv> <refname>ps_open_image_file</refname> <refpurpose>Opens image from file</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>ps_open_image_file</methodname> <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> </methodsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns identifier of image or zero in case of an error. The identifier is a positiv number greater 0. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_open_image</function></member> <member><function>ps_place_image</function></member> <member><function>ps_close_image</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-open-image.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-open-image.xml +++ phpdoc/en/reference/ps/functions/ps-open-image.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-open-image"> <refnamediv> <refname>ps_open_image</refname> <refpurpose>Reads an image for later placement</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>ps_open_image</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>type</parameter></methodparam> <methodparam><type>string</type><parameter>source</parameter></methodparam> <methodparam><type>string</type><parameter>data</parameter></methodparam> <methodparam><type>int</type><parameter>lenght</parameter></methodparam> <methodparam><type>int</type><parameter>width</parameter></methodparam> <methodparam><type>int</type><parameter>height</parameter></methodparam> <methodparam><type>int</type><parameter>components</parameter></methodparam> <methodparam><type>int</type><parameter>bpc</parameter></methodparam> <methodparam><type>string</type><parameter>params</parameter></methodparam> </methodsynopsis> <para> Reads an image which is already available in memory. The parameter <parameter>source</parameter> is currently not evaluated and assumed to be <literal>memory</literal>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns identifier of image or zero in case of an error. The identifier is a positiv number greater 0. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_open_image_file</function></member> <member><function>ps_place_image</function></member> <member><function>ps_close_image</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-place-image.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-place-image.xml +++ phpdoc/en/reference/ps/functions/ps-place-image.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-place-image"> <refnamediv> <refname>ps_place_image</refname> <refpurpose>Places image on the page</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_place_image</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>imageid</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> <methodparam><type>float</type><parameter>scale</parameter></methodparam> </methodsynopsis> <para> Places a formerly loaded image on the page. The image can be scaled. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_open_image</function></member> <member><function>ps_open_image_file</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-rect.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-rect.xml +++ phpdoc/en/reference/ps/functions/ps-rect.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-rect"> <refnamediv> <refname>ps_rect</refname> <refpurpose>Draws a rectangle</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_rect</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> <methodparam><type>float</type><parameter>height</parameter></methodparam> </methodsynopsis> <para> Draws a rectangle with its lower left corner at (<parameter>x</parameter>, <parameter>y</parameter>). The rectangle starts and ends in its lower left corner. If this function is called outside a path it will start a new path. If it is called within a path it will add the rectangle as a subpath. If the last drawing operation does not end in the lower left corner then there will be a gab in the path. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_arc</function></member> <member><function>ps_cirle</function></member> <member><function>ps_lineto</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-restore.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-restore.xml +++ phpdoc/en/reference/ps/functions/ps-restore.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-restore"> <refnamediv> <refname>ps_restore</refname> <refpurpose>Restore previously save context</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_restore</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Restores a previously saved graphics context. Any call of <function>ps_save</function> must be accompanied by a call to <function>ps_restore</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_save</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-rotate.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-rotate.xml +++ phpdoc/en/reference/ps/functions/ps-rotate.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-rotate"> <refnamediv> <refname>ps_rotate</refname> <refpurpose>Sets rotation factor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_rotate</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>rot</parameter></methodparam> </methodsynopsis> <para> Sets the rotation of the coordinate system. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_scale</function></member> <member><function>ps_translate</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-save.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-save.xml +++ phpdoc/en/reference/ps/functions/ps-save.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-save"> <refnamediv> <refname>ps_save</refname> <refpurpose>Save current context</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_save</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Saves the current graphics context, containing colors, translation and rotation settings and some more. A save context can be restored with <function>ps_restore</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_restore</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-scale.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-scale.xml +++ phpdoc/en/reference/ps/functions/ps-scale.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-scale"> <refnamediv> <refname>ps_scale</refname> <refpurpose>Sets scaling factor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_scale</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> <para> Sets horizontal and vertical scaling of the coordinate system. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_rotate</function></member> <member><function>ps_translate</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-border-color.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-border-color.xml +++ phpdoc/en/reference/ps/functions/ps-set-border-color.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-set-border-color"> <refnamediv> <refname>ps_set_border_color</refname> <refpurpose>Sets color of border for annotations</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_set_border_color</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>red</parameter></methodparam> <methodparam><type>float</type><parameter>green</parameter></methodparam> <methodparam><type>float</type><parameter>blue</parameter></methodparam> </methodsynopsis> <para> Annotations like the starting points of links are surounded by a rectancle. This function sets the color of the border line. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_set_border_dash</function></member> <member><function>ps_set_border_style</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-border-dash.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-border-dash.xml +++ phpdoc/en/reference/ps/functions/ps-set-border-dash.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-set-border-dash"> <refnamediv> <refname>ps_set_border_dash</refname> <refpurpose>Sets length of dashes for border of annotations</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_set_border_dash</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>black</parameter></methodparam> <methodparam><type>float</type><parameter>white</parameter></methodparam> </methodsynopsis> <para> Annotations like the starting points of links are surounded by a rectancle. This function sets the black and white portion of a ashed border line. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_set_border_color</function></member> <member><function>ps_set_border_style</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-border-style.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-border-style.xml +++ phpdoc/en/reference/ps/functions/ps-set-border-style.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-set-border-style"> <refnamediv> <refname>ps_set_border_style</refname> <refpurpose>Sets border style of annotations</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_set_border_style</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>style</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> </methodsynopsis> <para> Annotations like the starting points of links are surounded by a rectancle. This function sets the appearance and width of the border line. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>style</parameter></term> <listitem> <para> <parameter>style</parameter> can be <literal>solid</literal> or <literal>dashed</literal>. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>width</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_set_border_color</function></member> <member><function>ps_set_border_dash</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-color.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-color.xml +++ phpdoc/en/reference/ps/functions/ps-set-color.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-set-color"> <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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setdash.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setdash.xml +++ phpdoc/en/reference/ps/functions/ps-setdash.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-setdash"> <refnamediv> <refname>ps_setdash</refname> <refpurpose>Sets appearance of a dashed line</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setdash</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>on</parameter></methodparam> <methodparam><type>float</type><parameter>off</parameter></methodparam> </methodsynopsis> <para> Sets the length of the black and white portions of a dashed line. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setpolydash</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setflat.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setflat.xml +++ phpdoc/en/reference/ps/functions/ps-setflat.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-setflat"> <refnamediv> <refname>ps_setflat</refname> <refpurpose>Sets flatness</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setflat</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>value</parameter></term> <listitem> <para> The <parameter>value</parameter> must be between 0.2 and 1. </para> </listitem> </varlistentry> </variablelist> </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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setfont.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setfont.xml +++ phpdoc/en/reference/ps/functions/ps-setfont.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-setfont"> <refnamediv> <refname>ps_setfont</refname> <refpurpose>Sets font to use for following output</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setfont</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>fontid</parameter></methodparam> <methodparam><type>float</type><parameter>size</parameter></methodparam> </methodsynopsis> <para> Sets a font, which has to be loaded before with <function>ps_findfont</function>. Outputting text without setting a font before results in an error. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_findfont</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setgray.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setgray.xml +++ phpdoc/en/reference/ps/functions/ps-setgray.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-setgray"> <refnamediv> <refname>ps_setgray</refname> <refpurpose>Sets gray value</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setgray</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>gray</parameter></methodparam> </methodsynopsis> <para> Sets the gray value for all following drawing operations. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>gray</parameter></term> <listitem> <para> The value must be between 0 (white) and 1 (black). </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setcolor</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-info.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-info.xml +++ phpdoc/en/reference/ps/functions/ps-set-info.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-set-info"> <refnamediv> <refname>ps_set_info</refname> <refpurpose>Sets information fields of document</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_set_info</methodname> <methodparam><type>resource</type><parameter>p</parameter></methodparam> <methodparam><type>string</type><parameter>key</parameter></methodparam> <methodparam><type>string</type><parameter>val</parameter></methodparam> </methodsynopsis> <para> Sets certain information fields of the document. This fields will be shown as a comment in the header of the PostScript file. The values which can be set are <literal>Keywords</literal>, <literal>Subject</literal>, <literal>Title</literal>, <literal>Creator</literal>, <literal>Author</literal>, <literal>BoundingBox</literal>, and <literal>Orientation</literal>. Be aware that some of them has a meaning to PostScript viewers. </para> <para> The <literal>BoundingBox</literal> is usually set to the value given to the first page. This only works if <function>ps_findfont</function> has not been called before. In such cases the BoundingBox would be left unset unless you set it explicitly with this function. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_findfont</function></member> <member><function>ps_begin_page</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setlinecap.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setlinecap.xml +++ phpdoc/en/reference/ps/functions/ps-setlinecap.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-setlinecap"> <refnamediv> <refname>ps_setlinecap</refname> <refpurpose>Sets appearance of line ends</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setlinecap</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>type</parameter></methodparam> </methodsynopsis> <para> Sets how line ends look like. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setlinejoin</function></member> <member><function>ps_setlinewidth</function></member> <member><function>ps_setmiterlimit</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setlinejoin.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setlinejoin.xml +++ phpdoc/en/reference/ps/functions/ps-setlinejoin.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-setlinejoin"> <refnamediv> <refname>ps_setlinejoin</refname> <refpurpose>Sets how contected lines are joined</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setlinejoin</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>type</parameter></methodparam> </methodsynopsis> <para> Sets how lines are joined. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setlinecap</function></member> <member><function>ps_setlinewidth</function></member> <member><function>ps_setmiterlimit</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setlinewidth.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setlinewidth.xml +++ phpdoc/en/reference/ps/functions/ps-setlinewidth.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-setlinewidth"> <refnamediv> <refname>ps_setlinewidth</refname> <refpurpose>Sets width of a line</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setlinewidth</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> </methodsynopsis> <para> Sets the line width for all following drawing operations. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setlinecap</function></member> <member><function>ps_setlinejoin</function></member> <member><function>ps_setmiterlimit</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setmiterlimit.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setmiterlimit.xml +++ phpdoc/en/reference/ps/functions/ps-setmiterlimit.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-setmiterlimit"> <refnamediv> <refname>ps_setmiterlimit</refname> <refpurpose>Sets the miter limit</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setmiterlimit</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> If two lines join in a small angle and the line join is set to miter, then the resulting spike will be very long. The miter limit is the maximum ratio of the miter length (the length of the spike) and the line width. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setlinecap</function></member> <member><function>ps_setlinejoin</function></member> <member><function>ps_setlinewidth</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-parameter.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-parameter.xml +++ phpdoc/en/reference/ps/functions/ps-set-parameter.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-set-parameter"> <refnamediv> <refname>ps_set_parameter</refname> <refpurpose>Sets certain parameters</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_set_parameter</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam><type>string</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Sets several parameters which are used by many functions. Parameters are by definition string values. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_get_parameters</function></member> <member><function>ps_set_value</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-setpolydash.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-setpolydash.xml +++ phpdoc/en/reference/ps/functions/ps-setpolydash.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-setpolydash"> <refnamediv> <refname>ps_setpolydash</refname> <refpurpose>Sets appearance of a dashed line</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_setpolydash</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>arr</parameter></methodparam> </methodsynopsis> <para> Sets the length of the black and white portions of a dashed line. <function>ps_setpolydash</function> is used to set more complicated dash patterns. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>arr</parameter></term> <listitem> <para> <parameter>arr</parameter> is a list of length elements alternately for the black and white portion. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_setdash</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-text-pos.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-text-pos.xml +++ phpdoc/en/reference/ps/functions/ps-set-text-pos.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-set-text-pos"> <refnamediv> <refname>ps_set_test_pos</refname> <refpurpose>Sets position for text output</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_set_text_pos</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> <para> Set the postion for the next text output. You may alternatively set the x and y value separately by calling <function>ps_set_value</function> and choosing <literal>textx</literal> respectively <literal>texty</literal> as the value name. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_set_value</function></member> <member><function>ps_show</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-set-value.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-set-value.xml +++ phpdoc/en/reference/ps/functions/ps-set-value.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-set-value"> <refnamediv> <refname>ps_set_value</refname> <refpurpose>Sets certain values</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_set_value</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam><type>float</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Sets several values which are used by many functions. Parameters are by definition float values. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> The <parameter>name</parameter> can be one of the following: <variablelist> <varlistentry> <term>textrendering</term> <listitem> <para> The way how text is shown. </para> </listitem> </varlistentry> <varlistentry> <term>textx</term> <listitem> <para> The x coordinate for text output. </para> </listitem> </varlistentry> <varlistentry> <term>texty</term> <listitem> <para> The y coordinate for text output. </para> </listitem> </varlistentry> <varlistentry> <term>wordspacing</term> <listitem> <para> The distance between words relativ to the width of a space. </para> </listitem> </varlistentry> <varlistentry> <term>leading</term> <listitem> <para> The distance between lines in pixels. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_get_value</function></member> <member><function>ps_set_parameter</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-shading-pattern.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-shading-pattern.xml +++ phpdoc/en/reference/ps/functions/ps-shading-pattern.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-shading-pattern"> <refnamediv> <refname>ps_shading_pattern</refname> <refpurpose>Creates a pattern based on a shading</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>ps_shading_pattern</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>shadingid</parameter></methodparam> <methodparam><type>string</type><parameter>optlist</parameter></methodparam> </methodsynopsis> <para> Creates a pattern based on a shading, which has to be created before with <function>ps_shading</function>. Shading patterns can be used like regular patterns. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The identifier of the pattern or &false; in case of an error. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_shading</function></member> <member><function>ps_shfill</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-shading.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-shading.xml +++ phpdoc/en/reference/ps/functions/ps-shading.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-shading"> <refnamediv> <refname>ps_shading</refname> <refpurpose>Creates a shading for later use</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>ps_shading</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>type</parameter></methodparam> <methodparam><type>float</type><parameter>x0</parameter></methodparam> <methodparam><type>float</type><parameter>y0</parameter></methodparam> <methodparam><type>float</type><parameter>x1</parameter></methodparam> <methodparam><type>float</type><parameter>y1</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> <methodparam><type>string</type><parameter>optlist</parameter></methodparam> </methodsynopsis> <para> Creates a shading, which can be used by <function>ps_shfill</function> or <function>ps_shading_pattern</function>. </para> <para> The color of the shading can be in any color space except for <literal>pattern</literal>. </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 type of shading can be either <literal>radial</literal> or <literal>axial</literal>. Each shading starts with the current fill color and ends with the given color values passed in the parameters <parameter>c1</parameter> to <parameter>c4</parameter> (see <function>ps_setcolor</function> for their meaning). </para> </listitem> </varlistentry> <varlistentry> <term><parameter>x0, x1, y0, y1</parameter></term> <listitem> <para> The coordinates <parameter>x0</parameter>, <parameter>y0</parameter>, <parameter>x1</parameter>, <parameter>y1</parameter> are the start and end point of the shading. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>c1, c2, c3, c4</parameter></term> <listitem> <para> See <function>ps_setcolor</function> for their meaning. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>optlist</parameter></term> <listitem> <para> If the shading is of type <literal>radial</literal> the <parameter>optlist</parameter> must also contain the parameters <literal>r0</literal> and <literal>r1</literal> with the radius of the start and end circle. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the identifier of the pattern or &false; in case of an error. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_shading_pattern</function></member> <member><function>ps_shfill</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-shfill.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-shfill.xml +++ phpdoc/en/reference/ps/functions/ps-shfill.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-shfill"> <refnamediv> <refname>ps_shfill</refname> <refpurpose>Fills an area with a shading</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_shfill</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>shadingid</parameter></methodparam> </methodsynopsis> <para> Fills an area with a shading, which has to be created before with <function>ps_shading</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_shading</function></member> <member><function>ps_shading_pattern</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-show-boxed.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-show-boxed.xml +++ phpdoc/en/reference/ps/functions/ps-show-boxed.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-show-boxed"> <refnamediv> <refname>ps_show_boxed</refname> <refpurpose>Output text in a box</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>ps_show_boxed</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>text</parameter></methodparam> <methodparam><type>float</type><parameter>left</parameter></methodparam> <methodparam><type>float</type><parameter>bottom</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> <methodparam><type>float</type><parameter>height</parameter></methodparam> <methodparam><type>string</type><parameter>hmode</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>feature</parameter></methodparam> </methodsynopsis> <para> Outputs a text in a given box. The lower left corner of the box is at (<parameter>left</parameter>, <parameter>bottom</parameter>). Line breaks will be inserted where needed. Multiple spaces are treated as one. Tabulators are treated as spaces. </para> <para> The text will be hyphenated if the parameter "hyphenation" is set to "true" and the parameter "hyphendict" contains a valid filename for a hyphenation file. The line spacing is taken from the value "leading". Paragraphs can be separated by an empty line just like in TeX. If the value "parindent" is set to value > 0.0 then the first n lines will be indented. The number n of lines is set by the parameter "numindentlines". In order to prevent indenting of the first m paragraphs set the value "parindentskip" to a positive number. </para> </refsect1> <refsect1> <title>Used parameters</title> <para> The output of <function>ps_show_boxed</function> can be configured with several parameters and values which must be set with either <function>ps_set_parameter</function> or <function>ps_set_value</function>. Beside the parameters and values which affect text output the following parameters and values are evaluated. <variablelist> <varlistentry> <term>leading (value)</term> <listitem> <para>Distance between baselines of two consecutive lines.</para> </listitem> </varlistentry> <varlistentry> <term>linebreak (parameter)</term> <listitem> <para> Set to "true" if you want a carrige return to start a new line instead of treating it as a space. Defaults to "false". </para> </listitem> </varlistentry> <varlistentry> <term>parbreak (parameter)</term> <listitem> <para> Set to "true" if you want a carrige return on a single line to start a new paragraph instead of treating it as a space. Defaults to "true". </para> </listitem> </varlistentry> <varlistentry> <term>hyphenation (parameter)</term> <listitem> <para> Set to "true" in order to turn hyphenation on. This requires a dictionary to be set with the parameter "hyphendict". Defaults to "false". </para> </listitem> </varlistentry> <varlistentry> <term>hyphendict (parameter)</term> <listitem> <para> Filename of the dictionary used for hyphenation pattern (see below). </para> </listitem> </varlistentry> <varlistentry> <term>hyphenminchar (value)</term> <listitem> <para> The number of chars which must at least be left over before or after the hyphen. This implies that only words of at least two times this value will be hyphenated. The default value is three. Setting a value of zero will result in the default value. </para> </listitem> </varlistentry> <varlistentry> <term>parindent (value)</term> <listitem> <para> Set the amount of space in pixel for indenting the first m lines of a paragraph. m can be set with the value "numindentlines". </para> </listitem> </varlistentry> <varlistentry> <term>parskip (value)</term> <listitem> <para> Set the amount of extra space in pixel between paragraphs. Defaults to 0 which will result in a normal line distance. </para> </listitem> </varlistentry> <varlistentry> <term>numindentlines (value)</term> <listitem> <para> Number of lines from the start of the paragraph which will be indented. Defaults to 1. </para> </listitem> </varlistentry> <varlistentry> <term>parindentskip (value)</term> <listitem> <para> Number of paragraphs in the box whose first lines will not be indented. This defaults to 0. This is useful for paragraphs right after a section heading or text being continued in a second box. In both case one would set this to 1. </para> </listitem> </varlistentry> <varlistentry> <term>linenumbermode (parameter)</term> <listitem> <para> Set how lines are to be numbered. Possible values are "box" for numbering lines in the whole box or "paragraph" to number lines within each paragraph. </para> </listitem> </varlistentry> <varlistentry> <term>linenumberspace (value)</term> <listitem> <para> The space for the column left of the numbered line containing the line number. The line number will be right justified into this column. Defaults to 20. </para> </listitem> </varlistentry> <varlistentry> <term>linenumbersep (value)</term> <listitem> <para> The space between the column with line numbers and the line itself. Defaults to 5. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1> <title>Hyphenation</title> <para> Text is hyphenated if the parameter <literal>hyphenation</literal> is set to true and a valid hyphenation dictory is set. pslib does not ship its own hyphenation dictionary but uses one from openoffice, scribus or koffice. You can find their dictionaries for different languages in one of the following directories if the software is installed: <simplelist> <member> <filename class="directory">/usr/share/apps/koffice/hyphdicts/</filename> </member> <member> <filename class="directory">/usr/lib/scribus/dicts/</filename> </member> <member> <filename class="directory">/usr/lib/openoffice/share/dict/ooo/</filename> </member> </simplelist> Currently scribus appears to have the most complete hyphenation dictionaries. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>text</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>left</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>bottom</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>width</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>height</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>hmode</parameter></term> <listitem> <para> The parameter <parameter>hmode</parameter> can be "justify", "fulljustify", "right", "left", or "center". The difference of "justify" and "fulljustify" just affects the last line of the box. In fulljustify mode the last line will be left and right justified unless this is also the last line of paragraph. In justify mode it will always be left justified. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>feature</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Number of charactes that could not be written. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_continue_text</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-show.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-show.xml +++ phpdoc/en/reference/ps/functions/ps-show.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-show"> <refnamediv> <refname>ps_show</refname> <refpurpose>Output text</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_show</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> Output a text at the current text position. The function will issue an error if no font was set before with <function>ps_setfont</function>. </para> <para> <function>ps_show</function> evaluates the following parameters and values as set by <function>ps_set_parameter</function> and <function>ps_set_value</function>. </para> <variablelist> <varlistentry> <term>charspacing (value)</term> <listitem> <para> Distance between two consecutive glyphs. If this value is unequal to zero then all ligatures will be resolved. Values less than zero are allowed. </para> </listitem> </varlistentry> <varlistentry> <term>kerning (parameter)</term> <listitem> <para> Setting this parameter to "false" will turn off kerning. Kerning is turned on by default. </para> </listitem> </varlistentry> <varlistentry> <term>ligatures (parameter)</term> <listitem> <para> Setting this parameter to "false" will turn off the use of ligatures. Ligatures are turned on by default. </para> </listitem> </varlistentry> <varlistentry> <term>underline (parameter)</term> <listitem> <para> Setting this parameter to "true" will turn on underlining. Underlining is turned off by default. </para> </listitem> </varlistentry> <varlistentry> <term>overline (parameter)</term> <listitem> <para> Setting this parameter to "true" will turn on overlining. Overlining is turned off by default. </para> </listitem> </varlistentry> <varlistentry> <term>strikeout (parameter)</term> <listitem> <para> Setting this parameter to "true" will turn on striking out. Striking out is turned off by default. </para> </listitem> </varlistentry> </variablelist> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_continue_text</function></member> <member><function>ps_show_xy</function></member> <member><function>ps_setfont</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-show-xy.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-show-xy.xml +++ phpdoc/en/reference/ps/functions/ps-show-xy.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-show-xy"> <refnamediv> <refname>ps_show_xy</refname> <refpurpose>Output text at given position</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_show_xy</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>string</type><parameter>text</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> <para> Output a text at the given text position. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_continue_text</function></member> <member><function>ps_show</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-string-geometry.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-string-geometry.xml +++ phpdoc/en/reference/ps/functions/ps-string-geometry.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-string-geometry"> <refnamediv> <refname>ps_string_geometry</refname> <refpurpose>Gets geometry of a string</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <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> </methodsynopsis> <para> This function is similar to <function>ps_stringwidth</function> but returns an array of dimensions. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> An array of the dimensions of a string. The element 'width' contains the width of the string as returned by <function>ps_stringwidth</function>. The element 'descender' contains the maximum descender and 'ascender' the maximum ascender of the string. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_continue_text</function></member> <member><function>ps_stringwidth</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-stringwidth.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-stringwidth.xml +++ phpdoc/en/reference/ps/functions/ps-stringwidth.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ps.xml, last change in rev --> <refentry id="function.ps-stringwidth"> <refnamediv> <refname>ps_stringwidth</refname> <refpurpose>Gets width of a string</refpurpose> </refnamediv> <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> </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> </refsect1> <refsect1> <title>Return value</title> <para>Width of a string in points.</para> </refsect1> <refsect1> <title>See also</title> <para><function>ps_string_geometry</function></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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-stroke.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-stroke.xml +++ phpdoc/en/reference/ps/functions/ps-stroke.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-stroke"> <refnamediv> <refname>ps_stroke</refname> <refpurpose>Draws the current path</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_stroke</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> </methodsynopsis> <para> Draws the path constructed with previously called drawing functions like <function>ps_lineto</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_closepath_stroke</function></member> <member><function>ps_fill</function></member> <member><function>ps_fill_stroke</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-symbol-name.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-symbol-name.xml +++ phpdoc/en/reference/ps/functions/ps-symbol-name.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-symbol-name"> <refnamediv> <refname>ps_symbol_name</refname> <refpurpose>Gets name of a glyph</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <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> </methodsynopsis> <para> This function needs an Adobe font metrics file to know which glyphs are available. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>ord</parameter></term> <listitem> <para> The parameter <parameter>ord</parameter> is the position of the glyph in the font encoding vector. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>fontid</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The name of a glyph in the given font. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_symbol</function></member> <member><function>ps_symbol_width</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-symbol-width.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-symbol-width.xml +++ phpdoc/en/reference/ps/functions/ps-symbol-width.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-symbol-width"> <refnamediv> <refname>ps_symbol_width</refname> <refpurpose>Gets width of a glyph</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <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> </methodsynopsis> <para> Calculates the width of a glyph 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. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>psdoc</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>ord</parameter></term> <listitem> <para> The parameter <parameter>ord</parameter> is the position of the glyph in the font encoding vector. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>fontid</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>size</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The width of a glyph in points. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_symbol</function></member> <member><function>ps_symbol_name</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-symbol.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-symbol.xml +++ phpdoc/en/reference/ps/functions/ps-symbol.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-symbol"> <refnamediv> <refname>ps_symbol</refname> <refpurpose>Output a glyph</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_symbol</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>int</type><parameter>ord</parameter></methodparam> </methodsynopsis> <para> Output the glyph at position <parameter>ord</parameter> in the font encoding vector of the current font. The font encoding for a font can be set when loading the font with <function>ps_findfont</function>. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_symbol_name</function></member> <member><function>ps_symbol_width</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/functions/ps-translate.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/functions/ps-translate.xml +++ phpdoc/en/reference/ps/functions/ps-translate.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-translate"> <refnamediv> <refname>ps_translate</refname> <refpurpose>Sets translation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ps_translate</methodname> <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> <para> Sets a new initial point of the coordinate system. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ps_scale</function></member> <member><function>ps_rotate</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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/configure.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/configure.xml +++ phpdoc/en/reference/ps/configure.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <section id="ps.installation"> &reftitle.install; <para> A short installation note: just type <screen> $ pear install ps </screen> in your console. </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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/constants.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/constants.xml +++ phpdoc/en/reference/ps/constants.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <section id="ps.constants"> &reftitle.constants; &extension.constants; <para> The following two tables lists all constants defined by the ps extension. <table id="ps.table-linecap"> <title>Contants for line caps</title> <tgroup cols="2"> <thead> <row> <entry>Name</entry> <entry>Meaning</entry> </row> </thead> <tbody> <row> <entry>ps_LINECAP_BUTT</entry> <entry></entry> </row> <row> <entry>ps_LINECAP_ROUND</entry> <entry></entry> </row> <row> <entry>ps_LINECAP_SQUARED</entry> <entry></entry> </row> </tbody> </tgroup> </table> <table id="ps.table-linejoin"> <title>Contants for line joins</title> <tgroup cols="2"> <thead> <row> <entry>Name</entry> <entry>Meaning</entry> </row> </thead> <tbody> <row> <entry>ps_LINEJOIN_MITER</entry> <entry></entry> </row> <row> <entry>ps_LINEJOIN_ROUND</entry> <entry></entry> </row> <row> <entry>ps_LINEJOIN_BEVEL</entry> <entry></entry> </row> </tbody> </tgroup> </table> </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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ps/.cvsignore?r=1.1&p=1 Index: phpdoc/en/reference/ps/.cvsignore +++ phpdoc/en/reference/ps/.cvsignore functions.xml http://cvs.php.net/co.php/phpdoc/en/reference/ps/reference.xml?r=1.1&p=1 Index: phpdoc/en/reference/ps/reference.xml +++ phpdoc/en/reference/ps/reference.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- Author: Uwe Steinmann <steinm@php.net> --> <reference id="ref.ps"> <title>PostScript document creation</title> <titleabbrev>PS</titleabbrev> <partintro> <section id="ps.intro"> &reftitle.intro; <para> This module allows to create PostScript documents. It has many similarities with the pdf extension. Actually the API is almost identical and one can in many cases just replace the prefix of each function from pdf_ to ps_. This also works for functions which has no meaning in the PostScript document (like adding hyperlinks) but will have an effect if the document is converted to PDF. </para> <para>Documents created by this extension are sometimes even superior to documents created with the pdf extension, because pslib's text rendering functions can handle kerning, hyphenation and ligatures which results in much better output of boxed text. </para> </section> <section id="ps.requirements"> &reftitle.required; <para> You need at least PHP 4.3.0 and pslib >= 0.1.12. The ps library (pslib) is available at <ulink url="&url.pslib;">&url.pslib;</ulink>. </para> </section> &reference.ps.configure; <section id="ps.configuration"> &reftitle.runtime; &no.config; </section> &reference.ps.constants; <section id="ps.contact"> <title>Contact Information</title> <para> If you have comments, bugfixes, enhancements for either this extension or pslib then please drop me a mail <ulink url="mailto:steinm@php.net">steinm@php.net</ulink>. Any help is very welcome. </para> </section> </partintro> &reference.ps.functions; </reference> <!-- 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 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 -->