On Tue, 2017-03-21 at 09:16 +0530, Raghavendra kamath wrote:
I've added three verbs for canvas rotation (SP_VERB_ROTATE_CW, SP_VERB_ROTATE_CCW, SP_VERB_ROTATE_ZERO). These can be assigned to keys in the preferences dialog. I would assign them by default to '(', ')', '0' but these are already taken by inset/outset. (Imagine an arrow on the top end of the parentheses.)
There can also be some single key keyboard shortcuts in addition to
these, which will rotate the canvas in certain degrees (e.g. 15°).
They can be numpad numbers like 4 - rotate left , 6 rotate -right and 5 for resetting rotation.
Rotation will now use the value of '/options/rotateincrement/value' in the preferences.xml file (matching '/options/zoomincrement/value' for zoom) to determine the rotation step.
I also had one doubt, Will there be a 'Rotate' sub-menu in the 'View'
menu, like there is one for 'Zoom'. The menu may have some common rotate
options such as rotate canvas view to 90° clockwise, anti-clockwise ,
reset rotation etc.
That could be added.
BTW, does anybody use the Zoom Tool? I think that would be a good candidate for removal. (There is the Zoom menu, keyboard shortcuts, and the Zoom spin box.)
Tav