note 71752 added to function.imagestring

From: Date: Thu, 14 Dec 2006 10:21:50 +0000
Subject: note 71752 added to function.imagestring
Groups: php.notes 
Request: Send a blank email to php-notes+get-120603@lists.php.net to get a copy of this message
I've made a little modification of the (quite usefull) imagestringcutted function (when align=center, it doesn't work well for me if x1!=0) so juste replace the last line with : <?php [...] else imagestring($img,$font,$x1+($x2-$x1)/ 2 - strlen($text) * $fontwidth / 2,$y,$text,$color); } ?> ---- Server IP: 217.174.203.10 Probable Submitter: 194.51.20.126 ---- Manual Page -- http://www.php.net/manual/en/function.imagestring.php Edit -- https://master.php.net/note/edit/71752 Del: integrated -- https://master.php.net/note/delete/71752/integrated Del: useless -- https://master.php.net/note/delete/71752/useless Del: bad code -- https://master.php.net/note/delete/71752/bad+code Del: spam -- https://master.php.net/note/delete/71752/spam Del: non-english -- https://master.php.net/note/delete/71752/non-english Del: in docs -- https://master.php.net/note/delete/71752/in+docs Del: other reasons-- https://master.php.net/note/delete/71752 Reject -- https://master.php.net/note/reject/71752 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#120603) next »