enthought/chaco — pull request #38 by dpinte (2011-12-12 11:22:58+00:00)
Title: text_box_overlay supports a rotate_angle trait

The Chaco label supports a rotate_angle trait that worked fine but was not exposed when using a TextBoxOverlay. This pull request exposes the rotate_angle trait on the TextBoxOverlay and fixes some issues in the way the Label was playing with angles. It was implicitely using degrees but not converting to radians in part of the api.

I have added text_box_overlay demo where one can play with the text and the angle to see how it works.

The change to the get_bounding_box method of the Label class might have an impact as it is used by the Axis, Legen, Tooltip and PlotLabel. We need to be cautious when merging the pull request