Setting different Text Angles for Different Frames and Setting the Angle = 0.0 for Text outside the Frame.
DEBUG: Aaditya : Angle Set 1.570000
DEBUG: Aaditya : Get Set Angle 1.570000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 3012
DEBUG: Aaditya : Angle Set 1.000000
DEBUG: Aaditya : Get Set Angle 1.000000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 4727
DEBUG: Aaditya : Angle Set 4.900000
DEBUG: Aaditya : Get Set Angle 4.900000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 4709
DEBUG: Aaditya : Angle Set 0.000000
DEBUG: Aaditya : Get Set Angle 0.000000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 3012
DEBUG: Aaditya : Angle Set 1.570000
DEBUG: Aaditya : Get Set Angle 1.570000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 3012
DEBUG: Aaditya : Angle Set 1.000000
DEBUG: Aaditya : Get Set Angle 1.000000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 4727
DEBUG: Aaditya : Angle Set 4.900000
DEBUG: Aaditya : Get Set Angle 4.900000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 4709
DEBUG: Aaditya : Angle Set 0.000000
DEBUG: Aaditya : Get Set Angle 0.000000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Frame Edit mode set to 0
The frames have been set at angles : 1, PI/2, 3PI/2 and 2PI
BUG : It performs OK for now, but there is a bug, that when I edit the frame properties like width, the text angle in the frame, gets set to 0.0 and redraws the text with no rotation.
Here is the Debug output :-
DEBUG: metrics asc 214 desc 52
DEBUG: Clip bottom is 3012 DEBUG: Aaditya : Angle Set 1.570000
DEBUG: Aaditya : Get Set Angle 1.570000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 3012
DEBUG: Aaditya : Angle Set 1.000000
DEBUG: Aaditya : Get Set Angle 1.000000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 4727
DEBUG: Aaditya : Angle Set 4.900000
DEBUG: Aaditya : Get Set Angle 4.900000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 4709
DEBUG: Aaditya : Angle Set 0.000000
DEBUG: Aaditya : Get Set Angle 0.000000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 3012
DEBUG: Aaditya : Angle Set 1.570000
DEBUG: Aaditya : Get Set Angle 1.570000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 3012
DEBUG: Aaditya : Angle Set 1.000000
DEBUG: Aaditya : Get Set Angle 1.000000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 4727
DEBUG: Aaditya : Angle Set 4.900000
DEBUG: Aaditya : Get Set Angle 4.900000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 4709
DEBUG: Aaditya : Angle Set 0.000000
DEBUG: Aaditya : Get Set Angle 0.000000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Frame Edit mode set to 0