I noticed that when Inkscape does stroke to path of a self-overlapping stroke, it automatically does a union of the resulting filled paths because there are no overlaps after stroke to path. Trying to track this I found:
src/verbs.cpp:2396: new SelectionVerb(SP_VERB_SELECTION_OUTLINE, "StrokeToPath", N_("_Stroke to Path") -> src/verbs:cpp:1073: case SP_VERB_SELECTION_OUTLINE: sp_selected_path_outline(dt); -> src/splivarot.cpp:880: sp_selected_path_outline(SPDesktop *desktop)
which calls Path::Outline from src/livarot/PathOutline.cpp which calls Path::SubContractOutline.
My question:
Despite all this searching it is not clear to me where the livarot union function is being called. Perhaps I am missing something?
Thanks.
Hi Krysztof (sorry if I get the spelling wrong) and others,
Could anyone answer this question of mine of last week? Thanks!
Sent from my Android phone On Sep 5, 2012 8:03 AM, "Shriramana Sharma" <samjnaa@...400...> wrote:
I noticed that when Inkscape does stroke to path of a self-overlapping stroke, it automatically does a union of the resulting filled paths because there are no overlaps after stroke to path. Trying to track this I found:
src/verbs.cpp:2396: new SelectionVerb(SP_VERB_SELECTION_OUTLINE, "StrokeToPath", N_("_Stroke to Path") -> src/verbs:cpp:1073: case SP_VERB_SELECTION_OUTLINE: sp_selected_path_outline(dt); -> src/splivarot.cpp:880: sp_selected_path_outline(SPDesktop *desktop)
which calls Path::Outline from src/livarot/PathOutline.cpp which calls Path::SubContractOutline.
My question:
Despite all this searching it is not clear to me where the livarot union function is being called. Perhaps I am missing something?
Thanks.
-- Shriramana Sharma
not entirely sure how relevant this is, but there has been some discussion of path outline (as it relates to bounding box calculations) at: http://sourceforge.net/mailarchive/message.php?msg_id=28880821 see, for example, the file crossover.svg, attached there.
Alvin Penner
-- View this message in context: http://inkscape.13.n6.nabble.com/livarot-stroke-to-path-calls-union-tp496522... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
participants (2)
-
alvinpenner
-
Shriramana Sharma