From f2f124b1f3d3371bd8ee305285fb95542fd3786c Mon Sep 17 00:00:00 2001 From: johanengelen Date: Fri, 17 Aug 2007 23:00:17 +0000 Subject: [PATCH] Add lpe-skeleton for easy implementation! --- src/live_effects/effect.cpp | 1 + src/live_effects/effect.h | 2 +- src/live_effects/lpe-slant.cpp | 7 ------- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 404db61fb..901b80fcc 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -36,6 +36,7 @@ namespace Inkscape { namespace LivePathEffect { const Util::EnumData LPETypeData[INVALID_LPE] = { + // {constant defined in effect.h, _("name of your effect"), "name of your effect in SVG"} {SKELETAL_STROKES, _("Skeletal Strokes"), "skeletal"}, {SLANT, _("Slant"), "slant"}, {DOEFFECTSTACK_TEST, _("doEffect stack test"), "doeffectstacktest"}, diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h index 714bcdcab..6af44b7e1 100644 --- a/src/live_effects/effect.h +++ b/src/live_effects/effect.h @@ -34,7 +34,7 @@ namespace Inkscape { namespace XML { class Node; -}; +} namespace LivePathEffect { diff --git a/src/live_effects/lpe-slant.cpp b/src/live_effects/lpe-slant.cpp index 93107f81a..c40d5fa20 100644 --- a/src/live_effects/lpe-slant.cpp +++ b/src/live_effects/lpe-slant.cpp @@ -7,15 +7,8 @@ */ #include "live_effects/lpe-slant.h" -#include "sp-shape.h" #include "display/curve.h" #include -#include "live_effects/n-art-bpath-2geom.h" - -#include <2geom/path.h> -#include <2geom/transforms.h> - -#include "svg/svg.h" namespace Inkscape { namespace LivePathEffect { -- 2.30.2