summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-08-17 23:00:17 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-08-17 23:00:17 +0000
commitedfb498b153d83f38fc5e01345b292cb6c5751f1 (patch)
tree7fe37237e437236082e640fc4f1af2094ca49735 /src
parentupdated Slovak translation in trunk, removed obsolete fuzzy strings (diff)
downloadinkscape-edfb498b153d83f38fc5e01345b292cb6c5751f1.tar.gz
inkscape-edfb498b153d83f38fc5e01345b292cb6c5751f1.zip
Add lpe-skeleton for easy implementation!
(bzr r3500)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/effect.cpp1
-rw-r--r--src/live_effects/effect.h2
-rw-r--r--src/live_effects/lpe-slant.cpp7
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<EffectType> 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 <libnr/n-art-bpath.h>
-#include "live_effects/n-art-bpath-2geom.h"
-
-#include <2geom/path.h>
-#include <2geom/transforms.h>
-
-#include "svg/svg.h"
namespace Inkscape {
namespace LivePathEffect {