Re: [Inkscape-devel] Proposal for new 'Edit | Paste Path' option
At 02:00 PM 4/13/2008 -0400, you wrote:
On Sun, Apr 13, 2008 at 12:50 PM, Alvin Penner <penner@...1856...> wrote:
- paste using absolute coordinates, not relative to mouse.
- transfer only 'path' node info, and within the path node transfer only
the 'd' attribute, and the 'transform' attribute, not the 'style'
attribute.
No, for a typical user there's no separate "transform". Any command that treats path data separately from transform will give unexplainably weird results for such a user. It's a very specialized functionality.
actually, I was proposing that both the 'd' attribute and the 'transform' attribute be modified at the same time, not separately. The reason for this is that most users cannot visually distinguish between them, so if you are going to modify one, then you should modify both. The only way to distinguish between them is to open the XML editor which most people won't do.
- if the path id already exists, then overwrite it, but only 'd' and
'transform', not 'style'.
That is very specialized too. Users don't care and don't know about ids. For them, this command will just act weird and unpredictable.
in this case I was referring to the 'd' attribute to be overwritten, not the 'id' attribute, which is quite different.
So, I don't think it's a good idea overall. However, there's another command that needs to be implemented and that will give you, more or less, the functionality you need. It's copy/pasting nodes: in Node tool, pressing ctrl+c with some nodes selected, these nodes must be copied to some special storage; and when you press ctrl+v with some nodes selected, these nodes must be replaced with pasted nodes, correspondingly moved and probably rotated to fit the path in the new place. If you're replacing all nodes of an object, no such move/rotation is necessary. Then, pasting path data from another application would be done like this: select target object, switch to node tool, select all nodes and press ctrl+v.
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org
participants (1)
-
Alvin Penner