cvs: phpdoc /en/reference/image examples.xml
| From: | Kalle Sommer Nielsen | Date: | Mon, 25 May 2009 18:16:48 +0000 |
| Subject: | cvs: phpdoc /en/reference/image examples.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4062@lists.php.net to get a copy of this message | ||
kalle Mon May 25 18:16:48 2009 UTC
Modified files:
/phpdoc/en/reference/image examples.xml
Log:
Fixed #48382 (man page error.)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/examples.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/reference/image/examples.xml
diff -u phpdoc/en/reference/image/examples.xml:1.7 phpdoc/en/reference/image/examples.xml:1.8
--- phpdoc/en/reference/image/examples.xml:1.7 Sun May 3 13:17:08 2009
+++ phpdoc/en/reference/image/examples.xml Mon May 25 18:16:48 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<chapter xml:id="image.examples" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.examples;
@@ -85,11 +85,11 @@
// First we create our stamp image manually from GD
$stamp = imagecreatetruecolor(100, 70);
-imagefilledrectangle($stamp, 0,0, 99, 99, 0x0000FF);
-imagefilledrectangle($stamp, 9,9, 90,60, 0xFFFFFF);
+imagefilledrectangle($stamp, 0, 0, 99, 69, 0x0000FF);
+imagefilledrectangle($stamp, 9, 9, 90, 60, 0xFFFFFF);
$im = imagecreatefromjpeg('photo.jpeg');
imagestring($stamp, 5, 20, 20, 'libGD', 0x0000FF);
-imagestring($stamp, 3, 20, 40, '(c) 2007-8', 0x0000FF);
+imagestring($stamp, 3, 20, 40, '(c) 2007-9', 0x0000FF);
// Set the margins for the stamp and get the height/width of the stamp image
$marge_right = 10;