On 03/21/2014 03:25 PM, Andreas K. Huettel wrote:
> How about fixed aspect ratio resize? Very useful for images...

Perhaps. What is the proposed UI mechanism?  I don't like the idea of 
having to press a special key (it's not intuitive, and doesn't work well 
on tablets); the logical thing is probably to snap to fixed-aspect when 
the pointer position is close enough?

How does the tolerance work, i.e. what is the snap zone?  should it be a 
fixed width in pixels? proportional to the initial size of the rectangle 
being resized? proportional to its current size?  Probably I'll have to 
first implement it and then play with it to see what's most intuitive.

If one really wants to do a resize that isn't aspect-preserving but is 
very close to it, what does one do (apart from disable the feature -- 
I'm thinking this would be a config option)?

For analogy, and to discuss another potentially useful feature, should 
the ruler tool also be snappy? (to favor horizontal and vertical lines 
over not-quite-horizontal lines)  Perhaps not -- or if one does it, how 
does one un-snap if one really wanted a not-quite-vertical/horizontal 
line?  Ah, here's an idea: one-sided snappiness! When a ruler line being 
drawn is constrained to horizontal or vertical, it stays that way until 
the user deviates too much from horizontal or vertical. However, once it 
is unconstrained, it stays unconstrained until the user crosses the 
horizontal or vertical direction, not merely approaches it. (So: if I'm 
trying to draw a nearly but not quite horizontal line that goes slightly 
up,  and it accidentally snaps down to horizontal, my first instinct 
will be to move the cursor up to un-snap it, and while I may have to go 
further up than intended to achieve that, this mechanism would then let 
me bring the cursor back down to my intended end-point without snapping 
again).  Does this sound convincing on paper? (I'd rather not implement 
something unless it sounds convincingly like it could be The Right Thing).

So, now, going back to the image case and how to perform 
almost-aspect-preserving resizes: should selection resizes be 
one-sided-snappy to aspect-ratio-preserving? (i.e., it only starts 
snapping once you actually cross the aspect-ratio-preserving line, and 
then stays snappy as long as you stay close enough to it) ?

Does anyone with a good sense of imagination have thoughts about whether 
one-sided-snappy would be intuitive to the user, or a better proposal?

Denis

-- 
Denis Auroux                             aur...@math.berkeley.edu
University of California, Berkeley       Tel: 510-642-4367
Department of Mathematics                Fax: 510-642-8204
817 Evans Hall # 3840
Berkeley, CA 94720-3840

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to