1 #ifndef INKSCAPE_LPE_SLANT_H
2 #define INKSCAPE_LPE_SLANT_H
4 /*
5 * Inkscape::LPESlant
6 *
7 * Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
8 *
9 * Released under GNU GPL, read the file 'COPYING' for more information
10 */
12 #include "live_effects/effect.h"
13 #include "live_effects/parameter/parameter.h"
14 #include "live_effects/parameter/point.h"
15 #include "ui/widget/registered-widget.h"
19 namespace Inkscape {
20 namespace LivePathEffect {
22 class LPESlant : public Effect {
23 public:
24 LPESlant(LivePathEffectObject *lpeobject);
25 virtual ~LPESlant();
27 using Effect::doEffect;
28 virtual void doEffect(SPCurve * curve);
30 private:
31 ScalarParam factor;
32 PointParam center;
34 LPESlant(const LPESlant&);
35 LPESlant& operator=(const LPESlant&);
36 };
38 }; //namespace LivePathEffect
39 }; //namespace Inkscape
41 #endif