lpe-curvestitch.h revision ccd5d0ad1950ed63ccdf76081ae0cb056f372c9f
#ifndef INKSCAPE_LPE_EXPRESSION_H
#define INKSCAPE_LPE_EXPRESSION_H
/** \file
* Implementation of an effect similar to Expression, see lpe-expression.cpp
*/
/*
* Authors:
* Johan Engelen
*
* Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "live_effects/effect.h"
#include "live_effects/parameter/path.h"
#include "live_effects/parameter/parameter.h"
#include "live_effects/parameter/bool.h"
#include "live_effects/parameter/random.h"
namespace Inkscape {
namespace LivePathEffect {
class LPECurveStitch : public Effect {
public:
LPECurveStitch(LivePathEffectObject *lpeobject);
~LPECurveStitch();
std::vector<Geom::Path> doEffect (std::vector<Geom::Path> & path_in);
private:
PathParam strokepath;
ScalarParam nrofpaths;
RandomParam startpoint_variation;
RandomParam endpoint_variation;
BoolParam scale_y;
LPECurveStitch(const LPECurveStitch&);
LPECurveStitch& operator=(const LPECurveStitch&);
};
} //namespace LivePathEffect
} //namespace Inkscape
#endif