summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-12-30 22:32:51 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-12-30 22:32:51 +0000
commitdf2cf6584407ae3744aac917039681fb3a04a678 (patch)
treecd51f8ff21d6863e5380d53ce828eb59279537a6 /src
parentSpanish comment of node.h (diff)
downloadinkscape-df2cf6584407ae3744aac917039681fb3a04a678.tar.gz
inkscape-df2cf6584407ae3744aac917039681fb3a04a678.zip
refactor, fixing some diff diferences
(bzr r11950.1.219)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-bendpath.h2
-rw-r--r--src/seltrans.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/live_effects/lpe-bendpath.h b/src/live_effects/lpe-bendpath.h
index 554f20413..16b8c6137 100644
--- a/src/live_effects/lpe-bendpath.h
+++ b/src/live_effects/lpe-bendpath.h
@@ -38,6 +38,8 @@ public:
virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
virtual void resetDefaults(SPItem const* item);
+
+
private:
PathParam bend_path;
ScalarParam prop_scale;
diff --git a/src/seltrans.cpp b/src/seltrans.cpp
index d1d39532c..4d0a09c6d 100644
--- a/src/seltrans.cpp
+++ b/src/seltrans.cpp
@@ -1461,7 +1461,7 @@ Geom::Point Inkscape::SelTrans::_getGeomHandlePos(Geom::Point const &visual_hand
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
bool transform_stroke = prefs->getBool("/options/transform/stroke", true);
bool preserve = prefs->getBool("/options/preservetransform/value", false);
- Geom::Affine abs_affine = get_scale_transform_for_uniform_stroke (*_bbox, _strokewidth, transform_stroke, preserve,
+ Geom::Affine abs_affine = get_scale_transform_for_uniform_stroke (*_bbox, _strokewidth, _strokewidth, transform_stroke, preserve,
new_bbox.min()[Geom::X], new_bbox.min()[Geom::Y], new_bbox.max()[Geom::X], new_bbox.max()[Geom::Y]);
// Calculate the scaled geometrical bbox