lpe-angle_bisector.cpp revision 735f214a0852e9c0328a2f83e2f9b447d409ac2c
/*
* Authors:
* Maximilian Albert <maximilian.albert@gmail.com>
* Johan Engelen <j.b.c.engelen@alumnus.utwente.nl>
*
* Copyright (C) Authors 2007-2012
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "live_effects/lpe-angle_bisector.h"
#include "sp-lpe-item.h"
#include "knot-holder-entity.h"
#include "knotholder.h"
namespace Inkscape {
namespace LivePathEffect {
namespace AB {
class KnotHolderEntityLeftEnd : public LPEKnotHolderEntity {
public:
};
class KnotHolderEntityRightEnd : public LPEKnotHolderEntity {
public:
};
} // namespace AB
length_left(_("Length left:"), _("Specifies the left end of the bisector"), "length-left", &wr, this, 0),
length_right(_("Length right:"), _("Specifies the right end of the bisector"), "length-right", &wr, this, 250)
{
show_orig_path = true;
_provides_knotholder_entities = true;
}
{
}
{
using namespace Geom;
// we assume that the path has >= 3 nodes
Piecewise<D2<SBasis> > output = Piecewise<D2<SBasis> >(D2<SBasis>(SBasis(D[X], E[X]), SBasis(D[Y], E[Y])));
}
void
{
_("Adjust the \"left\" end of the bisector") );
knotholder->add(e);
}
{
_("Adjust the \"right\" end of the bisector") );
knotholder->add(e);
}
};
namespace AB {
void
{
}
void
KnotHolderEntityRightEnd::knot_set(Geom::Point const &p, Geom::Point const &/*origin*/, guint state)
{
}
KnotHolderEntityLeftEnd::knot_get() const
{
}
KnotHolderEntityRightEnd::knot_get() const
{
}
} // namespace AB
/* ######################## */
} //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 :