summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect-enum.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2008-11-21 05:24:08 +0000
committerTed Gould <ted@canonical.com>2008-11-21 05:24:08 +0000
commit44a3a78fb6a3863c0c7f3c1193837337e68a67e4 (patch)
tree1722ee5ec6f88c881cd4124923354b3c1311501b /src/live_effects/effect-enum.h
parentMerge from trunk (diff)
downloadinkscape-44a3a78fb6a3863c0c7f3c1193837337e68a67e4.tar.gz
inkscape-44a3a78fb6a3863c0c7f3c1193837337e68a67e4.zip
Merge from fe-moved
(bzr r6891)
Diffstat (limited to 'src/live_effects/effect-enum.h')
-rw-r--r--src/live_effects/effect-enum.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/src/live_effects/effect-enum.h b/src/live_effects/effect-enum.h
new file mode 100644
index 000000000..1e82954f8
--- /dev/null
+++ b/src/live_effects/effect-enum.h
@@ -0,0 +1,72 @@
+#ifndef INKSCAPE_LIVEPATHEFFECT_ENUM_H
+#define INKSCAPE_LIVEPATHEFFECT_ENUM_H
+
+/*
+ * Inkscape::LivePathEffect::EffectType
+ *
+* Copyright (C) Johan Engelen 2008 <j.b.c.engelen@utwente.nl>
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+
+#include "util/enums.h"
+
+#define LPE_ENABLE_TEST_EFFECTS
+
+namespace Inkscape {
+namespace LivePathEffect {
+
+enum EffectType {
+ BEND_PATH = 0,
+ PATTERN_ALONG_PATH,
+ FREEHAND_SHAPE,
+ SKETCH,
+ HATCHES,
+ VONKOCH,
+ KNOT,
+#ifdef LPE_ENABLE_TEST_EFFECTS
+ DOEFFECTSTACK_TEST,
+#endif
+ GEARS,
+ CURVE_STITCH,
+ CIRCLE_WITH_RADIUS,
+ PERSPECTIVE_PATH,
+ SPIRO,
+ LATTICE,
+ ENVELOPE,
+ CONSTRUCT_GRID,
+ PERP_BISECTOR,
+ TANGENT_TO_CURVE,
+ MIRROR_SYMMETRY,
+ CIRCLE_3PTS,
+ ANGLE_BISECTOR,
+ PARALLEL,
+ COPY_ROTATE,
+ OFFSET,
+ RULER,
+ BOOLOPS,
+ INTERPOLATE,
+ TEXT_LABEL,
+ PATH_LENGTH,
+ LINE_SEGMENT,
+ INVALID_LPE // This must be last
+};
+
+extern const Util::EnumData<EffectType> LPETypeData[]; /// defined in effect.cpp
+extern const Util::EnumDataConverter<EffectType> LPETypeConverter; /// defined in effect.cpp
+
+} //namespace LivePathEffect
+} //namespace Inkscape
+
+#endif
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :