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?".
Pleases always provide your ImageMagick version and platform and your input images.
What you need to do is use -annotate to create the text at an angle or use -rotate to rotate the text you have created with -draw. You can also do it all in one convert command line rather than piping to composite.
Here is how I do it. I create the rotated white text on a transparent background with -annotate. Then I save that as an in memory MPR: image. Then I tile it over the background image so that it replaces the background image. That way I do not need to know how big the background image was. Then I composite that over the background image.
-draw does not support rotated text. But you can add -background none -rotate 10 -gravity center -extent 140x80 after you have drawn the text just before the miff:-
See if that works. You did not provide your input images, so I could not test that.