lpe-skeleton.cpp revision 80d34fe4a953d704430b44c6201a4fcbf455dfc6
#define INKSCAPE_LPE_SKELETON_CPP
/** \file
* LPE <skeleton> implementation, used as an example for a base starting class
* when implementing new LivePathEffects.
*
* In vi, three global search-and-replaces will let you rename everything
* in this and the .h file:
*
*/
/*
* 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/lpe-skeleton.h"
// You might need to include other 2geom files. You can add them here:
namespace Inkscape {
namespace LivePathEffect {
// initialise your parameters here:
{
/* uncomment the following line to have the original path displayed while the item is selected */
//show_orig_path = true;
/* register all your parameters here, so Inkscape knows which parameters this effect has: */
}
{
}
/* ########################
* Choose to implement one of the doEffect functions. You can delete or comment out the others.
*/
/*
void
LPESkeleton::doEffect (SPCurve * curve)
{
// spice this up to make the effect actually *do* something!
}
std::vector<Geom::Path>
LPESkeleton::doEffect_path (std::vector<Geom::Path> const & path_in)
{
std::vector<Geom::Path> path_out;
path_out = path_in; // spice this up to make the effect actually *do* something!
return path_out;
}
*/
{
return output;
}
/* ######################## */
} //namespace LivePathEffect
} /* namespace Inkscape */
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :