1 #ifndef INKSCAPE_LPE_CONSTRUCTGRID_H
2 #define INKSCAPE_LPE_CONSTRUCTGRID_H
4 /** \file
5 * Implementation of the construct grid LPE, see lpe-constructgrid.cpp
6 */
8 /*
9 * Authors:
10 * Johan Engelen
11 *
12 * Copyright (C) Johan Engelen 2008 <j.b.c.engelen@utwente.nl>
13 *
14 * Released under GNU GPL, read the file 'COPYING' for more information
15 */
17 #include "live_effects/effect.h"
18 #include "live_effects/parameter/parameter.h"
20 namespace Inkscape {
21 namespace LivePathEffect {
23 class LPEConstructGrid : public Effect {
24 public:
25 LPEConstructGrid(LivePathEffectObject *lpeobject);
26 virtual ~LPEConstructGrid();
28 virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> const & path_in);
30 virtual void setup_nodepath(Inkscape::NodePath::Path *np);
32 private:
33 ScalarParam nr_x;
34 ScalarParam nr_y;
36 LPEConstructGrid(const LPEConstructGrid&);
37 LPEConstructGrid& operator=(const LPEConstructGrid&);
38 };
40 } //namespace LivePathEffect
41 } //namespace Inkscape
43 #endif // INKSCAPE_LPE_CONSTRUCTGRID_H