Code

Add checkbox for LPEs to temporarily disable them on canvas (but keep them applied...
[inkscape.git] / src / live_effects / lpe-constructgrid.h
1 #ifndef INKSCAPE_LPE_CONSTRUCTGRID_H\r
2 #define INKSCAPE_LPE_CONSTRUCTGRID_H\r
3 \r
4 /** \file\r
5  * Implementation of the construct grid LPE, see lpe-constructgrid.cpp\r
6  */\r
7 \r
8 /*\r
9  * Authors:\r
10  *   Johan Engelen\r
11 *\r
12 * Copyright (C) Johan Engelen 2008 <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/parameter.h"\r
19 \r
20 namespace Inkscape {\r
21 namespace LivePathEffect {\r
22 \r
23 class LPEConstructGrid : public Effect {\r
24 public:\r
25     LPEConstructGrid(LivePathEffectObject *lpeobject);\r
26     virtual ~LPEConstructGrid();\r
27 \r
28     virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> const & path_in);\r
29 \r
30     virtual void setup_nodepath(Inkscape::NodePath::Path *np);\r
31 \r
32 private:\r
33     ScalarParam nr_x;\r
34     ScalarParam nr_y;\r
35 \r
36     LPEConstructGrid(const LPEConstructGrid&);\r
37     LPEConstructGrid& operator=(const LPEConstructGrid&);\r
38 };\r
39 \r
40 } //namespace LivePathEffect\r
41 } //namespace Inkscape\r
42 \r
43 #endif // INKSCAPE_LPE_CONSTRUCTGRID_H\r