summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/path-manipulator.h
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-03-01 15:28:13 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-03-01 15:28:13 +0000
commit616ae6e54d98f03dc1ff3ce7d3c528521fd7e233 (patch)
treea9a26ab46a7f508148c83ee8aac8de254a93a6fd /src/ui/tool/path-manipulator.h
parentadding some comments (diff)
downloadinkscape-616ae6e54d98f03dc1ff3ce7d3c528521fd7e233.tar.gz
inkscape-616ae6e54d98f03dc1ff3ce7d3c528521fd7e233.zip
Substitute isBSpline property by a cached function isBSpline(bool)
(bzr r11950.1.261)
Diffstat (limited to 'src/ui/tool/path-manipulator.h')
-rw-r--r--src/ui/tool/path-manipulator.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/tool/path-manipulator.h b/src/ui/tool/path-manipulator.h
index 5f075834e..5186bfc95 100644
--- a/src/ui/tool/path-manipulator.h
+++ b/src/ui/tool/path-manipulator.h
@@ -96,7 +96,6 @@ public:
NodeList::iterator extremeNode(NodeList::iterator origin, bool search_selected,
bool search_unselected, bool closest);
- bool isBSpline;
int BSplineGetSteps();
// this is necessary for Tab-selection in MultiPathManipulator
SubpathList &subpathList() { return _subpaths; }
@@ -107,7 +106,7 @@ private:
typedef boost::shared_ptr<NodeList> SubpathPtr;
void _createControlPointsFromGeometry();
- void BSpline();
+ bool isBSpline(bool recalculate);
double BSplineHandlePosition(Handle *h);
Geom::Point BSplineHandleReposition(Handle *h);
Geom::Point BSplineHandleReposition(Handle *h,double pos);