Diederik,
Thanks for your answer
Hi Miguel,
Your proposal makes sense to me. Have you already thought about how to
implement the UI for this?
Have a look in src/nodepath.cpp, for example node_request(),
sp_node_selected_move(), sp_nodepath_move_node_and_handles(), etc.
You'll probably figure it out from there.
Regards,
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 :
>
> 1. 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.
>
> 2. 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
>
>