string rotation using imagettftext

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
doctorsrp
Forum Newbie
Posts: 10
Joined: Fri Feb 20, 2004 12:08 am

string rotation using imagettftext

Post by doctorsrp »

When using the imagettftext function within the GD lib i have found that I only seem to be able to rotate a string in terms of its individual characters so the string will appear:

s
t
r
i
n
g

Is there any way of rotating the whole string e.g. for use as a title for the y axis on a graph.

Thanks guys
Illusionist
Forum Regular
Posts: 903
Joined: Mon Jan 12, 2004 9:32 pm

Post by Illusionist »

have u tried [php_man]imagerotate()[/php_man] ??
Post Reply