1 #ifndef INKSCAPE_LPE_EXPRESSION_H\r
2 #define INKSCAPE_LPE_EXPRESSION_H\r
3 \r
4 /** \file\r
5 * Implementation of an effect similar to Expression, see lpe-expression.cpp\r
6 */\r
7 \r
8 /*\r
9 * Authors:\r
10 * Johan Engelen\r
11 *\r
12 * Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>\r
13 *\r
14 * Released under GNU GPL, read the file 'COPYING' for more information\r
15 */\r
16 \r
17 #include "live_effects/effect.h"\r
18 #include "live_effects/parameter/path.h"\r
19 #include "live_effects/parameter/parameter.h"\r
20 \r
21 namespace Inkscape {\r
22 namespace LivePathEffect {\r
23 \r
24 class LPECurveStitch : public Effect {\r
25 public:\r
26 LPECurveStitch(LivePathEffectObject *lpeobject);\r
27 ~LPECurveStitch();\r
28 \r
29 std::vector<Geom::Path> doEffect (std::vector<Geom::Path> & path_in);\r
30 \r
31 private:\r
32 PathParam strokepath;\r
33 ScalarParam nrofpaths;\r
34 ScalarParam startpoint_variation;\r
35 ScalarParam endpoint_variation;\r
36 \r
37 LPECurveStitch(const LPECurveStitch&);\r
38 LPECurveStitch& operator=(const LPECurveStitch&);\r
39 };\r
40 \r
41 } //namespace LivePathEffect\r
42 } //namespace Inkscape\r
43 \r
44 #endif\r