Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
I notice on Stackoverflow you have posted some Imagick code - if that is what you want to use you should say so here.
I think you will need to use a distort function ( SRT ) instead of a rotation in -annotate. Alternativly you could create the text image, rotate and composite it over the photo.