[Image-SIG] rotated text

Charles G Waldman cgw@fnal.gov
Wed, 3 Mar 1999 16:20:18 -0600 (CST)

David Ascher writes:
 > Anyone done the grunt work which would allow adding rotated text to
 > ImageDraw?  At this point, I'm happy with multiples of 90 degrees.

If you're truly lazy and want rotated text, you can pad your image
into a larger image (sqrt(2)x bigger), rotate that, render your text
into the rotated image, then rotate it back and crop back to the original