svn: /phpdoc/en/trunk/reference/imagick/imagick/ annotateimage.xml
| From: | Daniel Egeberg | Date: | Thu, 18 Feb 2010 09:57:49 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/imagick/imagick/ annotateimage.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6100@lists.php.net to get a copy of this message | ||
degeberg Thu, 18 Feb 2010 09:57:49 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295231
Log:
Corrected example on Imagick::annotateImage() (fixes bug #51077)
Bug: http://bugs.php.net/51077 (Open) Example is wrong
Changed paths:
U phpdoc/en/trunk/reference/imagick/imagick/annotateimage.xml
Modified: phpdoc/en/trunk/reference/imagick/imagick/annotateimage.xml
===================================================================
--- phpdoc/en/trunk/reference/imagick/imagick/annotateimage.xml 2010-02-18 08:33:48 UTC (rev 295230)
+++ phpdoc/en/trunk/reference/imagick/imagick/annotateimage.xml 2010-02-18 09:57:49 UTC (rev 295231)
@@ -16,7 +16,6 @@
<methodparam><type>float</type><parameter>angle</parameter></methodparam>
<methodparam><type>string</type><parameter>text</parameter></methodparam>
</methodsynopsis>
- &warn.undocumented.func;
<para>
Annotates an image with text.
</para>
@@ -97,7 +96,7 @@
$image->newImage(800, 75, $pixel);
/* Black text */
-$pixel->setColor('black');
+$draw->setFillColor('black');
/* Font properties */
$draw->setFont('Bookman-DemiItalic');