note 35232 added to function.imagettfbbox
| From: | johnny13 at users dot sf dot net | Date: | Sun, 24 Aug 2003 15:22:40 +0000 |
| Subject: | note 35232 added to function.imagettfbbox | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-54991@lists.php.net to get a copy of this message | ||
to display text at the Top-Right corner:
<?$s=$_SERVER['HTTP_HOST']; $BOX=imagettfbbox(24,0,'ariblk.ttf',$s);
imagettftext($im,24,0,imagesx($im)-$BOX[2],-$BOX[5],
-$c,'ariblk.ttf',$s);?>
(tested with PHP4.1.2 and GD1.6.2)
----
Manual Page -- http://www.php.net/manual/en/function.imagettfbbox.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35232
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35232&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35232&report=yes