katja Sun Mar 19 17:22:16 2006 UTC
Modified files:
/phpdoc/en/reference/pdf/functions pdf-shading.xml
Log:
PDF doc updated
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pdf/functions/pdf-shading.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/pdf/functions/pdf-shading.xml
diff -u phpdoc/en/reference/pdf/functions/pdf-shading.xml:1.2
phpdoc/en/reference/pdf/functions/pdf-shading.xml:1.3
--- phpdoc/en/reference/pdf/functions/pdf-shading.xml:1.2 Thu Dec 8
14:15:13 2005
+++ phpdoc/en/reference/pdf/functions/pdf-shading.xml Sun Mar 19 17:22:16 2006
@@ -1,15 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-<!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.pdf-shading">
<refnamediv>
- <refname>pdf_shading</refname>
+ <refname>PDF_shading</refname>
<refpurpose>Define blend</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>pdf_shading</methodname>
+ <type>int</type><methodname>PDF_shading</methodname>
<methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam>
<methodparam><type>string</type><parameter>shtype</parameter></methodparam>
<methodparam><type>float</type><parameter>x0</parameter></methodparam>
@@ -20,22 +19,9 @@
<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>
Defines a blend from the current fill color to another color.
- For axial shadings, (<parameter>x0</parameter>, <parameter>y0</parameter>)
- and (<parameter>x1</parameter>, <parameter>y1</parameter>) are the
- coordinates of the starting and ending points of the shading. For radial
- shadings these points specify the centers of the starting and ending
- circles. <parameter>c1</parameter>, <parameter>c2</parameter>,
- <parameter>c3</parameter>, and <parameter>c4</parameter> are the color
- values of the shading endpoint, interpreted in the current fill color
- space in the same way as the color parameters in
- <function>pdf_setcolor</function>.
- </para>
- <para>
- This function returns a shading handle that can be used in subsequent
calls to <function>pdf_shading_pattern</function> and
<function>pdf_shfill</function>.
</para>
<para>
This function requires PDF 1.4 or above.