cvs: php4 /ext/gd gd.c
| From: | Hartmut Holzgraefe | Date: | Thu, 06 Dec 2001 17:51:48 +0000 |
| Subject: | cvs: php4 /ext/gd gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8474@lists.php.net to get a copy of this message | ||
hholzgra Thu Dec 6 12:51:48 2001 EDT
Modified files:
/php4/ext/gd gd.c
Log:
proto fixes
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.171 php4/ext/gd/gd.c:1.172
--- php4/ext/gd/gd.c:1.171 Fri Nov 16 06:59:04 2001
+++ php4/ext/gd/gd.c Thu Dec 6 12:51:48 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.171 2001/11/16 11:59:04 rasmus Exp $ */
+/* $Id: gd.c,v 1.172 2001/12/06 17:51:48 hholzgra Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -562,7 +562,7 @@
}
/* }}} */
-/* {{{ void ImageTrueColorToPalette(resource im, bool ditherFlag, int colorsWanted)
+/* {{{ void imagetruecolortopalette(resource im, bool ditherFlag, int colorsWanted)
Convert a true colour image to a palette based image with a number of colours, optionally using
dithering. */
PHP_FUNCTION(imagetruecolortopalette)
{
@@ -1247,7 +1247,7 @@
}
/* }}} */
-/* {{{ todo int imagecreatefromxpm(string filename)
+/* {{{ proto int imagecreatefromxpm(string filename)
Create a new image from XPM file or URL */
PHP_FUNCTION(imagecreatefromxpm)
{
@@ -2631,8 +2631,8 @@
}
/* }}} */
-/* {{{ proto array imagettftext(int im, int size, int angle, int x, int y, int col, string
font_file, string text, [array extrainfo])
- Write text to the image using a TrueType font */
+/* {{{ proto array imagefttext(int im, int size, int angle, int x, int y, int col, string
font_file, string text, [array extrainfo])
+ Write text to the image using fonts via freetype2 */
PHP_FUNCTION(imagefttext)
{
#if HAVE_LIBGD20 && HAVE_LIBFREETYPE && HAVE_GD_STRINGFTEX