On Thu, Jul 31, 2008 at 5:49 PM, Diederik van Lierop
<mail@...1689...> wrote:
Vincent Hennebert wrote:
> When I recently switched to Inkscape 0.46, I discovered that objects
> are no longer snapped to the grid when pasted from the clipboard. [...]
> Did that behaviour get lost during the refactoring?
>
Yes, it did get lost. I removed it because it was no longer functioning
properly. I might just as well create something similar again, but I'm
not sure how it should work. Given an object with lots of nodes, which
node should snap to the grid? If all nodes were already aligned to the
grid when copying, then while pasting snapping any node to the grid will
do. But this will not be true in general and there will be nodes both
on- and off-grid. Besides, we can now have multiple grids
simultaneously, which one should we use?
If we know where the clipboard data was originally located (I don't know
if that information is stored), then we might paste at a multiple of the
grid pitch (strictly spoken: that is not snapping, but it will achieve
what you're looking for).
Comments anyone?
Diederik
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel