Hi Tav, Very quick reply. Powerstroke does/should do path offsetting. You can visualize that by displaying the stroke of the generated path instead of filling it. In the attached example, you can see what happens. For some offsets, troubles arise that I do not know how to solve (as a human).
regards, Johan
On 26-8-2014 17:36, Tavmjong Bah wrote:
Hi,
We discussed variable placement of stroke (e.g. inside/outside/10% inside,90% outside). The key to implementing this is having a good way to offset a path as then one can use existing rendering libraries to draw the stroke (including things like dashes, line-caps).
If I can provide a clear (testable) algorithm for how to offset a path, there is a good chance we can get this into SVG 2. The current Inkscape code for offsetting is a bit buggy. I believe lib2geom has better code. Can anybody comment?
Thanks,
Tav
Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel