From 5dff05a0a8db53154854d073d6e27e8928376a4b Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Mon, 17 Dec 2001 10:28:42 +0000 Subject: [PATCH] added seletons for missing functions git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65398 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/image.xml | 193 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 190 insertions(+), 3 deletions(-) diff --git a/functions/image.xml b/functions/image.xml index 9afc218b31..f01aaff23e 100644 --- a/functions/image.xml +++ b/functions/image.xml @@ -1,5 +1,5 @@ - + Image functions Image @@ -568,7 +568,7 @@ ImageColorDeAllocate($im, $white); - + ImageColorClosestAlpha @@ -599,7 +599,29 @@ ImageColorDeAllocate($im, $white); - + + + imagecolorclosesthwb + + Get the index of the color which has the hue, white and blackness nearest to the given color + + + + Description + + + int imagecolorclosesthwb + int im + int red + int green + int blue + + + + &warn.undocumented.func; + + + @@ -1203,6 +1225,73 @@ ImagePng ($im); + + + imagecreatefromgd + + Create a new image from GD file or URL + + + + Description + + + int imagecreatefromgd + string filename + + + + &warn.undocumented.func; + + + + + + + imagecreatefromgd2 + + Create a new image from GD2 file or URL + + + + Description + + + int imagecreatefromgd2 + string filename + + + + &warn.undocumented.func; + + + + + + + imagecreatefromgd2part + + Create a new image from a given part of GD2 file or URL + + + + Description + + + int imagecreatefromgd2part + string filename + int srcX + int srcY + int width + int height + + + + &warn.undocumented.func; + + + + ImageCreateFromGIF @@ -1671,6 +1760,50 @@ function LoadWBMP ($imgname) { + + + imagegd + + Output GD image to browser or file + + + + Description + + + int imagegd + int im + string filename + + + + &warn.undocumented.func; + + + + + + + imagegd2 + + Output GD2 image to browser or file + + + + Description + + + int imagegd2 + int im + string filename + + + + &warn.undocumented.func; + + + + ImageGIF @@ -2961,6 +3094,31 @@ ImageDestroy ($im); + + + imageftbbox + + Give the bounding box of a text using fonts via freetype2 + + + + Description + + + array imageftbbox + int size + int angle + string font_file + string text + array extrainfo + + + + &warn.undocumented.func; + + + + ImageTTFText @@ -3058,6 +3216,35 @@ ImageDestroy ($im); + + + imagefttext + + Write text to the image using fonts via freetype2 + + + + Description + + + array imagefttext + int im + int size + int angle + int x + int y + int col + string font_file + string text + array extrainfo + + + + &warn.undocumented.func; + + + + ImageTypes