cvs: phpdoc /en/functions pdf.xml

From: Date: Mon, 21 May 2001 19:28:59 +0000
Subject: cvs: phpdoc /en/functions pdf.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969335487@lists.php.net to get a copy of this message
danbeck Mon May 21 12:28:59 2001 EDT Modified files: /phpdoc/en/functions pdf.xml Log: corrected doc bug #10586 (pdf_stringwidth proto and definition were incorrect Index: phpdoc/en/functions/pdf.xml diff -u phpdoc/en/functions/pdf.xml:1.51 phpdoc/en/functions/pdf.xml:1.52 --- phpdoc/en/functions/pdf.xml:1.51 Sun May 20 20:36:19 2001 +++ phpdoc/en/functions/pdf.xml Mon May 21 12:28:58 2001 @@ -2738,13 +2738,29 @@ <funcdef>double <function>pdf_stringwidth</function></funcdef> <paramdef>int <parameter>pdf object</parameter></paramdef> <paramdef>string <parameter>text</parameter></paramdef> - <paramdef>string <parameter><optional>text</optional></parameter></paramdef> - <paramdef>string <parameter><optional>text</optional></parameter></paramdef> + <paramdef>int <parameter><optional>font</optional></parameter></paramdef> + <paramdef>double <parameter><optional>size</optional></parameter></paramdef> </funcprototype> </funcsynopsis> <para> - Return the width of text in an arbitrary font. + Returns the width of <parameter>text</parameter> using the last + font set by <function>pdf_setfont</function>. If the optional + parameters <parameter>font</parameter> and + <parameter>size</parameter> are specified, the width will be + calculated using that font and size instead. Please note that + <parameter>font</parameter> is a font handle returned by + <function>pdf_findfont</function>. </para> + <note> + <para> + Both the <parameter>font</parameter> and <parameter>size</parameter> + parameters must used together. + </para> + </note> + <para> + See Also: <function>pdf_setfont</function> and + <function>pdf_findfont</function>. + </para> </refsect1> </refentry>

« previous php.doc (#969335487) next »