Thanks Tav! I had stopped using the rotate view because of some rather unfortunate bugs that would affect on export of the wrong canvas size. It will be awesome to have it on the GUI side of things, and will likely make bugs like this disappear. Can't wait to use it!
-C

On Mar 20, 2017 9:20 PM, "Tavmjong Bah" <tavmjong@...8...> wrote:

Hi,

I've been reworking Jabier's window rotation code to use the desktop to
window affine rather than messing with the SVG viewbox. This is to keep
the GUI code out of the SVG handling code (also viewbox doesn't have
the concept of rotation so it was a real hack to put it in there). This
also unifies how zoom and rotation are handled (and eventually could
include flip).

With trunk r15603 most of the work is done so I would like to ask that
people try it out.

There are currently two ways to rotate the canvas.

1. Use the rotate spin entry box at the lower right corner of the
screen to input an arbitrary rotation value (right click to open a pop-
up with preset values). In this case, the rotation is around the center
of the window.

2. Use Shift-Ctrl-Scroll wheel to rotate around the current cursor
position. Currently the rotation is set to be in increments of 2
degrees. (We can make this a user defined preference.)

Note, this is a work in progress. Axiometric grids are not handled
correctly and resize/skew/rotate handles are not rotated with the
canvas.

Work is being tracked at http://wiki.inkscape.org/wiki/index.php/Rotati
ng_Canvas

Sorry there is no video. I don't have the video creating skill Jabier
has...

It would be interesting to know how people use a rotated canvas. Is it
with a separate tablet (e.g. Wacom) or with a touch sensitive screen?
Yale Zhang has a branch with gestures support. It would be interesting
to get this into trunk but it looks like it needs a good review.

Tav





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...1656...784...sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel