danbeck Mon May 21 13:17:16 2001 EDT
Modified files:
/phpdoc/en/functions pdf.xml
Log:
corrected more functions due to manual errata notes
Index: phpdoc/en/functions/pdf.xml
diff -u phpdoc/en/functions/pdf.xml:1.52 phpdoc/en/functions/pdf.xml:1.53
--- phpdoc/en/functions/pdf.xml:1.52 Mon May 21 12:28:58 2001
+++ phpdoc/en/functions/pdf.xml Mon May 21 13:17:16 2001
@@ -18,10 +18,13 @@
section for more information about compiling PDF support into PHP.
</simpara>
<simpara>
- Please consult the documentation for PDFlib included with
- the source distribution of PDFlib. It provides a very good
- overview of what PDFlib is capable of doing and contains the full
- and most up-to-date documentation of all functions.
+ The documentation in this section is only meant to be an overview
+ of the available functions in the PDFlib library and should not be
+ considered an exhaustive reference. Please consult the
+ documentation included in the source distribution of PDFlib for
+ the full and detailed explanation of each function here. It
+ provides a very good overview of what PDFlib is capable of doing
+ and contains the most up-to-date documentation of all functions.
</simpara>
<simpara>
All of the functions in PDFlib and the PHP module have identical
@@ -1976,8 +1979,18 @@
</funcprototype>
</funcsynopsis>
<para>
- Set the current color space and color. type is "fill",
- "stroke", or "both".
+ Set the current color space and color. The parameter
+ <parameter>type</parameter> can be "fill", "stroke", or "both"
+ to specify that the color is set for filling, stroking or both
+ filling and stroking. The parameter
+ <parameter>colorspace</parameter> can be
+ <literal>gray</literal>, <literal>rgb</literal>,
+ <literal>cmyk</literal>, <literal>spot</literal> or
+ <literal>pattern</literal>. The parameters
+ <parameter>c1</parameter>, <parameter>c2</parameter>,
+ <parameter>c3</parameter> and <parameter>c4</parameter>
+ represent the color components for the color space specified by
+ <parameter>colorspace</parameter>.
</para>
</refsect1>
</refentry>
@@ -2679,6 +2692,12 @@
If width and height are 0, only a single line is placed at the point
(left, top) in the requested mode.
</para>
+ <para>
+ Returns the number of characters that did not fit in the specified
+ box. Returns 0 if all characters fit or the
+ <parameter>width</parameter> and <parameter>height</parameter>
+ parameters were set to 0 for single-line formattting.
+ </para>
</refsect1>
</refentry>