cvs: peardoc /en/pecl ps.xml

From: Date: Wed, 16 Jun 2004 15:51:27 +0000
Subject: cvs: peardoc /en/pecl ps.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4419@lists.php.net to get a copy of this message
steinm Wed Jun 16 11:51:27 2004 EDT Modified files: /peardoc/en/pecl ps.xml Log: - added documentation for ps_makespotcolor() - fixed documentation for ps_setcolor() http://cvs.php.net/diff.php/peardoc/en/pecl/ps.xml?r1=1.10&r2=1.11&ty=u Index: peardoc/en/pecl/ps.xml diff -u peardoc/en/pecl/ps.xml:1.10 peardoc/en/pecl/ps.xml:1.11 --- peardoc/en/pecl/ps.xml:1.10 Fri Jun 4 03:00:18 2004 +++ peardoc/en/pecl/ps.xml Wed Jun 16 11:51:27 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- Author: Uwe Steinmann <steinm@php.net> --> <reference id="pecl.ps"> <title>PostScript document creation</title> @@ -1205,6 +1205,38 @@ </refsect1> </refentry> +<refentry id="pecl.ps.ps-makespotcolor"> + <refnamediv> + <refname>ps_makespotcolor</refname> + + <refpurpose>Create spot color</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>bool <function>ps_lineto</function></funcdef> + <paramdef>resource <parameter>psdoc</parameter></paramdef> + <paramdef>string <parameter>name</parameter></paramdef> + <paramdef>float <parameter><optional>reserved</optional></parameter></paramdef> + + </funcprototype> + </funcsynopsis> + + <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> + <title>See also</title> + + <para><function>ps_setcolor</function></para> + + </refsect1> +</refentry> + <refentry id="pecl.ps.ps-moveto"> <refnamediv> <refname>ps_moveto</refname> @@ -1674,23 +1706,23 @@ <paramdef>float <parameter>c2</parameter></paramdef> <paramdef>float <parameter>c3</parameter></paramdef> <paramdef>float <parameter>c4</parameter></paramdef> - </funcprototype> </funcsynopsis> - <para>Sets the color for drawing, filling, or both. The colorspace should - be one of 'gray', 'rgb, 'cmyk'. Depending on the colorspace either - only the first, the first three all or remaining parameters will be - used.</para> - <para>The parameter <parameter>type</parameter> can be 'both', 'fill', - or 'stroke'.</para> + <para>Sets the color for drawing, filling, or both. The colorspace should + be one of 'gray', 'rgb, 'cmyk', 'spot', 'pattern'. Depending on the + colorspace either + only the first, the first three or all parameters will be used.</para> + <para>The parameter <parameter>type</parameter> can be 'both', 'fill', + or 'fillstroke'.</para> </refsect1> <refsect1> - <title>Bugs</title> + <title>Bugs</title> - <para>The second parameter is currently not evaluated. The color is - always set for filling and drawing just as if 'both' where passed.</para> + <para>The second parameter is currently not always evaluated. The color is + sometimes set for filling and drawing just as if 'fillstroke' where + passed.</para> </refsect1> </refentry>

« previous php.pear.doc (#4419) next »