Rotated text
Status: Beta
Brought to you by:
ftassin
This is a very simple implementation of rotated strings.
I added an optional extra parameter to stringc (I just needed rotation on this function). If supplied, the last argument is the rotation angle in degrees. Ex.: 0 is the default orientation and 90 is "north".
The use of sprintf to round the sin and cos is ugly, but it works fine - without them, some degrees - like 90 - don't work. The use of "Tm" (transformation matrix) could be extended to other objects in a better form.
I hope this helps.
Patch file to lib/PDF/CREATE/Page.pm on version 0.06.1b.