X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Flive_effects%2Flpe-skeleton.h;h=5a7916e34310c0cdab3a74992642f1032f3dda40;hb=04fca1803e564baabd66e7dd1db308de565487be;hp=cefbf0a0b35e9f9eb5ca6dd797d9183d8299996f;hpb=3cd5f42e96f852c7c1e37bc1f8ec6f3907fa99b2;p=inkscape.git diff --git a/src/live_effects/lpe-skeleton.h b/src/live_effects/lpe-skeleton.h index cefbf0a0b..5a7916e34 100644 --- a/src/live_effects/lpe-skeleton.h +++ b/src/live_effects/lpe-skeleton.h @@ -1,47 +1,46 @@ -#ifndef INKSCAPE_LPE_SKELETON_H -#define INKSCAPE_LPE_SKELETON_H - -/** \file - * SVG implementation, see sp-skeleton.cpp. - */ - -/* - * Authors: - * Johan Engelen -* -* Copyright (C) Johan Engelen 2007 - * - * Released under GNU GPL, read the file 'COPYING' for more information - */ - -#include "live_effects/effect.h" -#include "live_effects/parameter/parameter.h" -#include "live_effects/parameter/point.h" - -namespace Inkscape { -namespace LivePathEffect { - -class LPESkeleton : public Effect { -public: - LPESkeleton(LivePathEffectObject *lpeobject); - ~LPESkeleton(); - -// Choose to implement one of the doEffect functions. You can delete or comment out the others. -// void doEffect (SPCurve * curve); -// NArtBpath * doEffect (NArtBpath * path_in); -// std::vector doEffect (std::vector & path_in); - Geom::Piecewise > doEffect (Geom::Piecewise > & pwd2_in); - -private: - // add the parameters for your effect here: - RealParam number; - // there are all kinds of parameters. Check the /live_effects/parameter directory which types exist! - - LPESkeleton(const LPESkeleton&); - LPESkeleton& operator=(const LPESkeleton&); -}; - -} //namespace LivePathEffect -} //namespace Inkscape - -#endif +#ifndef INKSCAPE_LPE_SKELETON_H +#define INKSCAPE_LPE_SKELETON_H + +/** \file + * LPE implementation, see lpe-skeleton.cpp. + */ + +/* + * Authors: + * Johan Engelen +* +* Copyright (C) Johan Engelen 2007 + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + +#include "live_effects/effect.h" +#include "live_effects/parameter/parameter.h" +#include "live_effects/parameter/point.h" + +namespace Inkscape { +namespace LivePathEffect { + +class LPESkeleton : public Effect { +public: + LPESkeleton(LivePathEffectObject *lpeobject); + virtual ~LPESkeleton(); + +// Choose to implement one of the doEffect functions. You can delete or comment out the others. +// virtual void doEffect (SPCurve * curve); +// virtual std::vector doEffect_path (std::vector const & path_in); + virtual Geom::Piecewise > doEffect_pwd2 (Geom::Piecewise > const & pwd2_in); + +private: + // add the parameters for your effect here: + ScalarParam number; + // there are all kinds of parameters. Check the /live_effects/parameter directory which types exist! + + LPESkeleton(const LPESkeleton&); + LPESkeleton& operator=(const LPESkeleton&); +}; + +} //namespace LivePathEffect +} //namespace Inkscape + +#endif