diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-09-27 00:30:21 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-09-27 00:30:21 +0000 |
| commit | fc710269ffba364187eb44df32d868addbbf30d9 (patch) | |
| tree | f6f642d395c44c9d28d187313fafeea46829cbe4 /src/measure-context.cpp | |
| parent | Further refactored SPEllipse. (diff) | |
| download | inkscape-fc710269ffba364187eb44df32d868addbbf30d9.tar.gz inkscape-fc710269ffba364187eb44df32d868addbbf30d9.zip | |
Adjusted code style of SPEllipse.
(bzr r12602)
Diffstat (limited to 'src/measure-context.cpp')
| -rw-r--r-- | src/measure-context.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/measure-context.cpp b/src/measure-context.cpp index 8db703205..9d8dc2b2f 100644 --- a/src/measure-context.cpp +++ b/src/measure-context.cpp @@ -48,10 +48,6 @@ using Inkscape::ControlManager; using Inkscape::CTLINE_SECONDARY; using Inkscape::Util::unit_table; -Geom::Point start_point; -boost::optional<Geom::Point> explicitBase; -boost::optional<Geom::Point> lastEnd; - std::vector<Inkscape::Display::TemporaryItem*> measure_tmp_items; @@ -313,6 +309,10 @@ static void calculate_intersections(SPDesktop * /*desktop*/, SPItem* item, Geom: } bool SPMeasureContext::root_handler(GdkEvent* event) { + Geom::Point start_point; + boost::optional<Geom::Point> explicitBase; + boost::optional<Geom::Point> lastEnd; + Inkscape::Preferences *prefs = Inkscape::Preferences::get(); tolerance = prefs->getIntLimited("/options/dragtolerance/value", 0, 0, 100); |
