2012/9/20 jbc.engelen@...2592... <jbc.engelen@...2592...>:
Indeed, I already had a rudimentary rotatable desktop working a while ago; it was only a small coding effort. What popped up were some UI questions:
- page display
This requires changing the stuff that draws the page border. Right now it uses CtrlRect, which draws only axis-aligned rectangles. The page border should of course always correspond to the size of the root <svg> element.
- boundingbox, do we want it to rotate too or not?
- thingies for scaling, shearing, rotating, should they rotate too?
- horizontal/vertical directions for dragging objects with ctrl, should they
rotate too?
These should always be parallel to the window edges - they work in desktop space, not document space. However, the desktop space could be altered in a limited way by picking the orientation of axes (e.g. in which direction do they grow) - this is not possible by using the desktop transform alone.
Related: it can be nice to have different scales in x and y dir. If rotating works, then it should be programmed such that any reasonable transform matrix works...?
Yes, there should be no internal restriction on the desktop transform, though for practical reasons restricting it to exclude shearing might be a good idea.
Regards, Krzysztof