effect.h revision c169f6cddd2da06cfb761339f445bbd8866f72a8
#ifndef INKSCAPE_LIVEPATHEFFECT_H
#define INKSCAPE_LIVEPATHEFFECT_H
/*
* Inkscape::LivePathEffect
*
* Copyright (C) Johan Engelen 2007-2008 <j.b.c.engelen@utwente.nl>
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "display/display-forward.h"
#include <map>
#include "ui/widget/registry.h"
#include "sp-lpe-item.h"
#define LPE_ENABLE_TEST_EFFECTS
struct SPDocument;
struct SPDesktop;
struct SPItem;
struct LivePathEffectObject;
}
}
}
}
enum EffectType {
BEND_PATH = 0,
KNOT,
#ifdef LPE_ENABLE_TEST_EFFECTS
#endif
INVALID_LPE // This must be last
};
SPDocument * getSPDoc();
// provide a set of doEffect functions so the developer has a choice
// the order in which they appear is the order in which they are
// called by this base class. (i.e. doEffect(SPCurve * curve) defaults to calling
// doEffect(std::vector<Geom::Path> )
int oncanvasedit_it;
// this boolean defaults to false, it concatenates the input path to one pwd2,
// instead of normally 'splitting' the path into continuous pwd2 paths.
bool concatenate_before_pwd2;
};
} //namespace LivePathEffect
} //namespace Inkscape
#endif