... and make sure to have a good look at how the sculpt tool works! I think the related node-handling code for that tool is in sp_nodepath_selected_nodes_sculpt()
Diederik
Miguel BYRAM wrote:
Hi,
I'm a Inkscape user for 3 or 4 years and first of all I want to thank and congratulate U for this program. I'm also a C++ beginner developer and I want to implement a functionality. It's about the moving of nodes.
In Inkscape, at present, when U move a node toward a vector V1, his handles (bezier indicators) move with the same vector V1. What I want to do is to add the possibility to move a node with V1 while his handles move with f*V1 where 0.0 <= f <= 1.0 As if U put a spaghetti on a table, U took it near the middle and pull it up.
This could be very useful to draw a sun or a hair shape.
As I said earlier, I'm a C++ beginner. I just succeeded in compiling Inkscape using Eclipse under Ubuntu but I don't know where to modify, or search... even where to look at, to understand how the node's moving works presently.
So here are my questions :
- Did I made myself clear ? English is not my mother tongue (so please
pardon me for faults) and before going further I want U to understand my proposition.
- Could someone lead me or just show me where to look at to understand
the Inkscape architecture and more specifically the node's moving ?
Thanks.
..miguel..
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel