Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Zooming-in using Fit-Rectangle #132
Ipe's UI offers three methods for rapid zooming in/out:
It would be nice if a fourth option
is added, with a default shortcut (such as the currently unused 'f') that is easily accessible with the left hand.
It would work like this: Once the option is selected, any rectangular region the user draws is maximized and centered in the current canvas. The user can then zoom out again with \, =, or @.
Those using Ipe with a mouse and a scroll wheel can already zoom in to draw something with precision by using 'x' (pan here) followed by zooming using the scroll wheel, but no matter how the parameters are set for the trackpad—at least for Apple's ultra-high resolution trackpad—this kind of interaction doesn't work. OS X generates scroll-wheel-like events (mouse keys 4/5) with two-finger vertical swipes. It may be that a mapping function specific to Apple's trackpad needs to be implemented, but "fit rectangle" is simpler and usable on any OS and input device.
One can of course select a few objects and then press '@' (fit selection), but almost always that requires a second step of zooming out just a little. "Fit selection" also can't be used when one wants to draw something in an area adjacent to, not on top of, objects that are already drawn.
Scrolling on trackpads is somewhat broken, because I didn't have a trackpad when I worked on the Cocoa version of Ipe last year.
Have you tried changing the setting of
If you run Ipe from the command line, you will see lines of the form:
For your trackpad, the second parameter should be
How large are your delta values? You may need to make the
(Nothing against your suggestion, but the trackpad also needs to be fixed.)
On stock-release 7.2.7 (after
If I modify
to have either
the top to bottom zoom-flight takes barely 1 mm. (The initial values are 1.1 and 1.3.)
I don't understand. Running Ipe from the command line
produces no output in the Terminal.