What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Image Scripting Help

Image Scripting Help
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
35 / Male / Flag
Joined: Jan 2006
RE: Image Scripting Help
You can use an image box of the text first to get the dimensions and then be able to centre that.  www.php.net/imagettfbox

i think you only need the 4th element of the array to get the width as well.  The you can compare it to the width of the background and divide the difference by 2, this will give the x offset tha you need for the text's placement.
[Image: markee.png]
03-30-2008 11:02 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Image Scripting Help - by Baggins on 03-30-2008 at 09:32 PM
RE: Image Scripting Help - by markee on 03-30-2008 at 11:02 PM
RE: Image Scripting Help - by Baggins on 03-30-2008 at 11:55 PM
RE: Image Scripting Help - by CookieRevised on 03-31-2008 at 12:09 AM
RE: Image Scripting Help - by Baggins on 03-31-2008 at 12:15 AM
RE: Image Scripting Help - by CookieRevised on 03-31-2008 at 12:16 AM
RE: Image Scripting Help - by Jarrod on 03-31-2008 at 06:16 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On