summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-transform_2pts.h
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-08-26 23:34:34 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-08-26 23:34:34 +0000
commite540144050e6caf543adb6299e56f6cbee396e77 (patch)
tree0beb3aad1e2b8aba396a5de6a0ae59cb20124b4e /src/live_effects/lpe-transform_2pts.h
parentPrevent crash when "vector" doesn't exist (i.e. for mesh gradient). (diff)
downloadinkscape-e540144050e6caf543adb6299e56f6cbee396e77.tar.gz
inkscape-e540144050e6caf543adb6299e56f6cbee396e77.zip
Added fixed and elastic modes to transform by two knots
(bzr r14325)
Diffstat (limited to 'src/live_effects/lpe-transform_2pts.h')
-rw-r--r--src/live_effects/lpe-transform_2pts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/live_effects/lpe-transform_2pts.h b/src/live_effects/lpe-transform_2pts.h
index 855780a7a..44163427e 100644
--- a/src/live_effects/lpe-transform_2pts.h
+++ b/src/live_effects/lpe-transform_2pts.h
@@ -49,16 +49,22 @@ protected:
virtual void addCanvasIndicators(SPLPEItem const *lpeitem, std::vector<Geom::PathVector> &hp_vec);
private:
+ ToggleButtonParam elastic;
+ ToggleButtonParam fixed;
ToggleButtonParam from_original_width;
PointParam start;
PointParam end;
+ ScalarParam fixed_width;
ScalarParam first_knot;
ScalarParam last_knot;
+ ScalarParam helper_size;
bool from_original_width_toggler;
Geom::Point point_a;
Geom::Point point_b;
Geom::PathVector pathvector;
bool append_path;
+ Geom::Angle previous_angle;
+ Geom::Point previous_start;
LPETransform2Pts(const LPETransform2Pts&);
LPETransform2Pts& operator=(const LPETransform2Pts&);
};