lpe-skeleton.h revision 6c3e745a94ef6b25a4ef9f018d350a7535aa45af
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould * @brief Minimal LPE effect, see lpe-skeleton.cpp.
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould * Johan Engelen <j.b.c.engelen@utwente.nl>
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould * Copyright (C) 2007 Authors
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm * Released under GNU GPL, read the file 'COPYING' for more information
bf09820d782b89c56d79f070d06d7cf2682c270ecilix// each knotholder handle for your LPE requires a separate class derived from KnotHolderEntity;
bf09820d782b89c56d79f070d06d7cf2682c270ecilix// define it in lpe-skeleton.cpp and register it in the effect's constructor
bf09820d782b89c56d79f070d06d7cf2682c270ecilixnamespace Skeleton {
bf09820d782b89c56d79f070d06d7cf2682c270ecilix // we need a separate namespace to avoid clashes with other LPEs
bf09820d782b89c56d79f070d06d7cf2682c270ecilix class KnotHolderEntityMyHandle;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm// Choose to implement one of the doEffect functions. You can delete or comment out the others.
62d835b4bbb0f1f046e30d9b67f8e9517cc6175cjohanengelen// virtual void doEffect (SPCurve * curve);
04fca1803e564baabd66e7dd1db308de565487becilix// virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> const & path_in);
ecda720053ff791e35dae3c5c1177bc225b6cdf1johanengelen virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
bf09820d782b89c56d79f070d06d7cf2682c270ecilix /* the knotholder entity classes (if any) must be declared friends */
bf09820d782b89c56d79f070d06d7cf2682c270ecilix //friend class Skeleton::KnotHolderEntityMyHandle;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm // add the parameters for your effect here:
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm // there are all kinds of parameters. Check the /live_effects/parameter directory which types exist!
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm} //namespace LivePathEffect
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm} //namespace Inkscape
02b211d5ad0015f24b09dee846a89cf19e95f98dcilix Local Variables:
02b211d5ad0015f24b09dee846a89cf19e95f98dcilix c-file-style:"stroustrup"
02b211d5ad0015f24b09dee846a89cf19e95f98dcilix c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
02b211d5ad0015f24b09dee846a89cf19e95f98dcilix indent-tabs-mode:nil
02b211d5ad0015f24b09dee846a89cf19e95f98dcilix fill-column:99
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :