diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-03-19 09:38:56 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-03-19 09:38:56 +0000 |
| commit | 757f1b17bf5db6b7b5cc8725a0ee3c438c08cafc (patch) | |
| tree | c62786af287828f0f70dba2e079be3cea604d8f4 /src/live_effects | |
| parent | Working width widgets (diff) | |
| parent | Drop remaining unused functions (diff) | |
| download | inkscape-757f1b17bf5db6b7b5cc8725a0ee3c438c08cafc.tar.gz inkscape-757f1b17bf5db6b7b5cc8725a0ee3c438c08cafc.zip | |
Widgets to effect added
(bzr r11950.1.59)
Diffstat (limited to 'src/live_effects')
| -rw-r--r-- | src/live_effects/lpe-dynastroke.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/live_effects/lpe-dynastroke.cpp b/src/live_effects/lpe-dynastroke.cpp index a5295d269..30ca5e2d6 100644 --- a/src/live_effects/lpe-dynastroke.cpp +++ b/src/live_effects/lpe-dynastroke.cpp @@ -26,30 +26,6 @@ namespace Inkscape { namespace LivePathEffect { - -//---------------------------------------------------------- -//--- TODO: Test this and move to 2Geom -------------------- -//---------------------------------------------------------- - -static -std::vector<double> -find_corners (Geom::Piecewise<Geom::D2<Geom::SBasis> > const &m){ - using namespace Geom; - std::vector<double> output = std::vector<double>(); - Piecewise<D2<SBasis> > v = derivative(m); - for (unsigned i=0; i<m.size()-1; i++){ - if ( m.segs[i].at1() == m.segs[i+1].at0() && - v.segs[i].at1() != v.segs[i+1].at0()){ - output.push_back(m.cuts[i+1]); - } - } - return output; -} - -//---------------------------------------------------------- -//---------------------------------------------------------- -//---------------------------------------------------------- - //TODO: growfor/fadefor can be expressed in unit of width. //TODO: make round/sharp end choices independant for start and end. //TODO: define more styles like in calligtool. |
