Date: 08/10/00
- Next message: Daniel Beckham: "Re: [PHP-DOC] cvs: phpdoc /en/functions ccvs.xml"
- Previous message: Egon Schmid: "[PHP-DOC] cvs: phpdoc / global.ent manual.xml.in /en chapters.ent /en/functions ccvs.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
jmoore Thu Aug 10 10:38:58 2000 EDT
Modified files:
/phpdoc/en/functions cpdf.xml
Log:
Correcting code error in example
Index: phpdoc/en/functions/cpdf.xml
diff -u phpdoc/en/functions/cpdf.xml:1.8 phpdoc/en/functions/cpdf.xml:1.9
--- phpdoc/en/functions/cpdf.xml:1.8 Sat Jul 8 03:52:07 2000
+++ phpdoc/en/functions/cpdf.xml Thu Aug 10 10:38:57 2000
@@ -62,9 +62,11 @@
$cpdf = cpdf_open(0);
cpdf_page_init($cpdf, 1, 0, 595, 842);
cpdf_add_outline($cpdf, 0, 0, 0, 1, "Page 1");
+cpdf_begin_text($pdf);
cpdf_set_font($cpdf, "Times-Roman", 30, "WinAnsiEncoding");
cpdf_set_text_rendering($cpdf, 1);
cpdf_text($cpdf, "Times Roman outlined", 50, 750);
+cpdf_end_text($pdf);
cpdf_moveto($cpdf, 50, 740);
cpdf_lineto($cpdf, 330, 740);
cpdf_stroke($cpdf);
- Next message: Daniel Beckham: "Re: [PHP-DOC] cvs: phpdoc /en/functions ccvs.xml"
- Previous message: Egon Schmid: "[PHP-DOC] cvs: phpdoc / global.ent manual.xml.in /en chapters.ent /en/functions ccvs.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

