diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2010-07-26 23:43:02 +0000 |
|---|---|---|
| committer | Johan Engelen <goejendaagh@zonnet.nl> | 2010-07-26 23:43:02 +0000 |
| commit | 22cce088046ec5cfeff1ca9c7afe4aa8998ebe46 (patch) | |
| tree | cfc10f6c60f347cfb5d0a94721e43e2f27c7670d /src/live_effects/lpe-powerstroke.cpp | |
| parent | Fix initial combo box values in filter effects dialog (diff) | |
| download | inkscape-22cce088046ec5cfeff1ca9c7afe4aa8998ebe46.tar.gz inkscape-22cce088046ec5cfeff1ca9c7afe4aa8998ebe46.zip | |
more powerstroke build infrastructure
(bzr r9656)
Diffstat (limited to 'src/live_effects/lpe-powerstroke.cpp')
| -rw-r--r-- | src/live_effects/lpe-powerstroke.cpp | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/src/live_effects/lpe-powerstroke.cpp b/src/live_effects/lpe-powerstroke.cpp index c3de621ee..b349f9aa6 100644 --- a/src/live_effects/lpe-powerstroke.cpp +++ b/src/live_effects/lpe-powerstroke.cpp @@ -28,18 +28,15 @@ LPEPowerStroke::LPEPowerStroke(LivePathEffectObject *lpeobject) : Effect(lpeobject), offset_1(_("Start Offset"), _("Handle to control the distance of the offset from the curve"), "offset_1", &wr, this), offset_2(_("End Offset"), _("Handle to control the distance of the offset from the curve"), "offset_2", &wr, this), - offset_3(_("End Offset"), _("Handle to control the distance of the offset from the curve"), "offset_3", &wr, this) -// offset_points(_("Offset points"), _("Offset points"), "offset_points", &wr, this) + offset_3(_("End Offset"), _("Handle to control the distance of the offset from the curve"), "offset_3", &wr, this), + offset_points(_("Offset points"), _("Offset points"), "offset_points", &wr, this) { show_orig_path = true; registerParameter( dynamic_cast<Parameter *>(&offset_1) ); registerParameter( dynamic_cast<Parameter *>(&offset_2) ); registerParameter( dynamic_cast<Parameter *>(&offset_3) ); -// registerParameter( dynamic_cast<Parameter *>(&offset_points) ); - - /* register all your knotholder handles here: */ - //registerKnotHolderHandle(new PowerStroke::KnotHolderEntityAttachMyHandle(), _("help message")); + registerParameter( dynamic_cast<Parameter *>(&offset_points) ); } LPEPowerStroke::~LPEPowerStroke() @@ -119,26 +116,6 @@ LPEPowerStroke::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & return output; } - -/* ######################## - * Define the classes for your knotholder handles here - */ - -/* -namespace PowerStroke { - -class KnotHolderEntityMyHandle : public LPEKnotHolderEntity -{ -public: - // the set() and get() methods must be implemented, click() is optional - virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state); - virtual Geom::Point knot_get(); - //virtual void knot_click(guint state); -}; - -} // namespace PowerStroke -*/ - /* ######################## */ } //namespace LivePathEffect |
