summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/pen-tool.h
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-08-13 08:11:49 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-08-13 08:11:49 +0000
commitb04f74f95405eb91b4dbf7110f0f9f38e869f8e3 (patch)
tree87a24c065b2fee4adb04c30c33da049232f37ded /src/ui/tools/pen-tool.h
parentAdd interfaces for networking and printing (diff)
downloadinkscape-b04f74f95405eb91b4dbf7110f0f9f38e869f8e3.tar.gz
inkscape-b04f74f95405eb91b4dbf7110f0f9f38e869f8e3.zip
Add Alt modifier to allow move ultimate point in BSpline and Spiro pen tools
Diffstat (limited to 'src/ui/tools/pen-tool.h')
-rw-r--r--src/ui/tools/pen-tool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tools/pen-tool.h b/src/ui/tools/pen-tool.h
index 7e5483358..fe1947f81 100644
--- a/src/ui/tools/pen-tool.h
+++ b/src/ui/tools/pen-tool.h
@@ -39,7 +39,7 @@ public:
};
Geom::Point p[5];
-
+ Geom::Point previous;
/** \invar npoints in {0, 2, 5}. */
// npoints somehow determines the type of the node (what does it mean, exactly? the number of Bezier handles?)
gint npoints;
@@ -105,7 +105,7 @@ private:
//continues an existing curve with the union node in CUSP mode
void _bsplineSpiroStartAnchorOff();
//modifies the "red_curve" when it detects movement
- void _bsplineSpiroMotion(bool shift);
+ void _bsplineSpiroMotion(guint const state);
//closes the curve with the last node in bspline or spiro mode
void _bsplineSpiroEndAnchorOn();
//closes the curve with the last node in CUSP mode