From cc0e2e3b4e1fa97404205e13dcc77bebb0a2cda9 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Mon, 19 Feb 2007 00:27:22 +0000 Subject: [PATCH] Add return value for imagefttext() Put note in notes section Use constant when needed git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@230205 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/functions/imagefttext.xml | 25 +++++++++++++++++++- reference/image/functions/imagesetbrush.xml | 26 +++++++++++++-------- reference/image/functions/imagesettile.xml | 6 ++--- 3 files changed, 43 insertions(+), 14 deletions(-) diff --git a/reference/image/functions/imagefttext.xml b/reference/image/functions/imagefttext.xml index 39f71dcb85..e9dbbd24a6 100644 --- a/reference/image/functions/imagefttext.xml +++ b/reference/image/functions/imagefttext.xml @@ -1,5 +1,5 @@ - + imagefttext @@ -88,6 +88,29 @@ &reftitle.returnvalues; + This function returns an array containing the following elements: + + + + + 0 + lower left x-coordinate + + + 1 + lower left y-coordinate + + + 2 + upper right x-coordinate + + + 3 + upper right y-coordinate + + + + diff --git a/reference/image/functions/imagesetbrush.xml b/reference/image/functions/imagesetbrush.xml index 5f8692371a..316d9f0466 100644 --- a/reference/image/functions/imagesetbrush.xml +++ b/reference/image/functions/imagesetbrush.xml @@ -1,5 +1,5 @@ - + imagesetbrush @@ -16,16 +16,9 @@ imagesetbrush sets the brush image to be used by all line drawing functions (such as imageline and imagepolygon) when drawing with the special - colors IMG_COLOR_BRUSHED or IMG_COLOR_STYLEDBRUSHED. + colors IMG_COLOR_BRUSHED or + IMG_COLOR_STYLEDBRUSHED. - - - You need not take special action when you are finished with a brush, but if you - destroy the brush image, you must not use the IMG_COLOR_BRUSHED or - IMG_COLOR_STYLEDBRUSHED - colors until you have set a new brush image! - - &reftitle.parameters; @@ -36,6 +29,7 @@ brush + An image resource @@ -48,6 +42,18 @@ &return.success; + + &reftitle.notes; + + + You need not take special action when you are finished with a brush, but + if you destroy the brush image, you must not use the + IMG_COLOR_BRUSHED or + IMG_COLOR_STYLEDBRUSHED colors until you have set a + new brush image! + + + + imagesettile @@ -16,7 +16,7 @@ imagesettile sets the tile image to be used by all region filling functions (such as imagefill and imagefilledpolygon) when filling with the special - color IMG_COLOR_TILED. + color IMG_COLOR_TILED. A tile is an image used to fill an area with a repeated pattern. Any @@ -27,7 +27,7 @@ You need not take special action when you are finished with a tile, but if you - destroy the tile image, you must not use the IMG_COLOR_TILED + destroy the tile image, you must not use the IMG_COLOR_TILED color until you have set a new tile image!