Hi Papoi. You can check the "on development" branch fillet[1] it add a knot to all cusp nodes and is based in power stroke work.
https://code.launchpad.net/~jabiertxof/inkscape/fillet Regards, Jabiertxo.
El mar, 06-05-2014 a las 07:29 -0400, Papoj Thamjaroenporn escribió:
Dear Inkscape-devel,
I am trying to figure out what the best way to add multiple user-defined knot holders to the LPE is. Let’s say I want to allow lpe-tangent_to_curve to have multiple tangent knots that I can slide independently, or lpe-knot to have multiple independent knots instead of shifting between each intersection by dragging a single knot around. What is the best practice of doing this? The mechanism of implementing addKnotHolderEntities(), knot_set(), knot_get() seems to support the case that I have just one knot to insert (per class defined). I am not sure if it can support multiple knots (of the same kind) that work independently from each other this way.
Another related question is, what’s is best practice to store multiple ScalarParam’s or VectorParam's that basically do the same thing? Again, let’s say I want to implement lpe-tangent_to_curve so that I can look at multiple tangent lines independently. Would you use, let’s say, std::vector<VectorParam> or ArrayParam<VectorParam>?
If someone can point me to existing LPE code that does something similar I’d also appreciate, since I haven’t found it so far.
Regards, _______________________ Papoj "Hua" Thamjaroenporn pt2277@...3110...
Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel