X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Flive_effects%2Flpe-tangent_to_curve.h;h=8d9622c672cf95d888c8685fddf14ec6f081491a;hb=e9c4a66f3db12ac811f42b73493c1c88460f0de3;hp=678c32c3696130dbf5cbb21108c44c9606b828cb;hpb=5be124ad592f5c71eca838ad2eaac9ffa953605f;p=inkscape.git diff --git a/src/live_effects/lpe-tangent_to_curve.h b/src/live_effects/lpe-tangent_to_curve.h index 678c32c36..8d9622c67 100644 --- a/src/live_effects/lpe-tangent_to_curve.h +++ b/src/live_effects/lpe-tangent_to_curve.h @@ -23,20 +23,27 @@ namespace Inkscape { namespace LivePathEffect { +namespace TtC { + // we need a separate namespace to avoid clashes with LPEPerpBisector + class KnotHolderEntityLeftEnd; + class KnotHolderEntityRightEnd; + class KnotHolderEntityAttachPt; +} + class LPETangentToCurve : public Effect { public: LPETangentToCurve(LivePathEffectObject *lpeobject); virtual ~LPETangentToCurve(); - bool providesKnotholder() { return true; } - virtual Geom::Piecewise > doEffect_pwd2 (Geom::Piecewise > const & pwd2_in); + virtual LPEPathFlashType pathFlashType() { return PERMANENT_FLASH; } + /* the knotholder entity classes must be declared friends */ - friend class KnotHolderEntityLeftEnd; - friend class KnotHolderEntityRightEnd; - friend class KnotHolderEntityAttachPt; + friend class TtC::KnotHolderEntityLeftEnd; + friend class TtC::KnotHolderEntityRightEnd; + friend class TtC::KnotHolderEntityAttachPt; private: ScalarParam angle;