diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2017-05-26 11:07:01 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2017-05-26 11:07:01 +0000 |
| commit | 10ea7415fe8527dc57874a8aa67e5b904daf6d4e (patch) | |
| tree | bc09cab63da69c466102844301bdac04a1d652fd /src | |
| parent | Improve methods on rotate copies LPE (diff) | |
| download | inkscape-10ea7415fe8527dc57874a8aa67e5b904daf6d4e.tar.gz inkscape-10ea7415fe8527dc57874a8aa67e5b904daf6d4e.zip | |
Order LPE parameters
(bzr r15703)
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-copy_rotate.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/lpe-copy_rotate.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-copy_rotate.cpp b/src/live_effects/lpe-copy_rotate.cpp index f3bc1eeb3..ff24b46da 100644 --- a/src/live_effects/lpe-copy_rotate.cpp +++ b/src/live_effects/lpe-copy_rotate.cpp @@ -55,6 +55,7 @@ pointInTriangle(Geom::Point const &p, Geom::Point const &p1, Geom::Point const & LPECopyRotate::LPECopyRotate(LivePathEffectObject *lpeobject) : Effect(lpeobject), + method(_("Method:"), _("Rotate methods"), "method", RMConverter, &wr, this, RM_NORMAL), origin(_("Origin"), _("Adjust origin of the rotation"), "origin", &wr, this, _("Adjust origin of the rotation")), starting_point(_("Start point"), _("Starting point to define start angle"), "starting_point", &wr, this, _("Adjust starting point to define start angle")), starting_angle(_("Starting angle"), _("Angle of the first copy"), "starting_angle", &wr, this, 0.0), @@ -62,7 +63,6 @@ LPECopyRotate::LPECopyRotate(LivePathEffectObject *lpeobject) : num_copies(_("Number of copies"), _("Number of copies of the original path"), "num_copies", &wr, this, 6), gap(_("Gap"), _("Gap"), "gap", &wr, this, -0.0001), copies_to_360(_("360º Copies"), _("No rotation angle, fixed to 360º"), "copies_to_360", &wr, this, true), - method(_("Method:"), _("Rotate methods"), "method", RMConverter, &wr, this, RM_NORMAL), mirror_copies(_("Mirror copies"), _("Mirror between copies"), "mirror_copies", &wr, this, false), split_items(_("Split elements"), _("Split elements, this allow gradients and other paints."), "split_items", &wr, this, false), dist_angle_handle(100.0) diff --git a/src/live_effects/lpe-copy_rotate.h b/src/live_effects/lpe-copy_rotate.h index bc89878e5..a0a3d4dc1 100644 --- a/src/live_effects/lpe-copy_rotate.h +++ b/src/live_effects/lpe-copy_rotate.h @@ -54,6 +54,7 @@ protected: virtual void addCanvasIndicators(SPLPEItem const *lpeitem, std::vector<Geom::PathVector> &hp_vec); private: + EnumParam<RotateMethod> method; PointParam origin; PointParam starting_point; ScalarParam starting_angle; @@ -61,7 +62,6 @@ private: ScalarParam num_copies; ScalarParam gap; BoolParam copies_to_360; - EnumParam<RotateMethod> method; BoolParam mirror_copies; BoolParam split_items; Geom::Point A; |
