From fccfcbcf72bf1c5390c47f59ed76cae465b80acd Mon Sep 17 00:00:00 2001 From: Daniel Beckham Date: Mon, 21 May 2001 20:17:16 +0000 Subject: [PATCH] corrected more functions due to manual errata notes git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@48102 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/pdf.xml | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/functions/pdf.xml b/functions/pdf.xml index 95677054ac..8478cede61 100644 --- a/functions/pdf.xml +++ b/functions/pdf.xml @@ -18,10 +18,13 @@ section for more information about compiling PDF support into PHP. - 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. All of the functions in PDFlib and the PHP module have identical @@ -1976,8 +1979,18 @@ pdf_close_image($pdf, $pim); - Set the current color space and color. type is "fill", - "stroke", or "both". + Set the current color space and color. The parameter + type can be "fill", "stroke", or "both" + to specify that the color is set for filling, stroking or both + filling and stroking. The parameter + colorspace can be + gray, rgb, + cmyk, spot or + pattern. The parameters + c1, c2, + c3 and c4 + represent the color components for the color space specified by + colorspace. @@ -2679,6 +2692,12 @@ pdf_close_image($pdf, $pim); If width and height are 0, only a single line is placed at the point (left, top) in the requested mode. + + Returns the number of characters that did not fit in the specified + box. Returns 0 if all characters fit or the + width and height + parameters were set to 0 for single-line formattting. +