summaryrefslogtreecommitdiff
path: root/ext/gd/gd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/gd.c')
-rw-r--r--ext/gd/gd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 4c75b2a08c..4f39bd7f9c 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -562,7 +562,7 @@ PHP_FUNCTION(imagecreatetruecolor)
}
/* }}} */
-/* {{{ 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 @@ PHP_FUNCTION(imagecreatefromxbm)
}
/* }}} */
-/* {{{ 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 @@ PHP_FUNCTION(imageftbbox)
}
/* }}} */
-/* {{{ 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