diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-12-15 18:45:32 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-12-15 18:45:32 +0000 |
| commit | e3dece3d90d745cd3b952be8247092dc1e4c6570 (patch) | |
| tree | ccfd27a9135b40dfdf1740f5579c4c937c0534cd /src/live_effects/lpe-patternalongpath.cpp | |
| parent | Round-trip SVG 2 flowed text with SVG 1.1 backup. (diff) | |
| download | inkscape-e3dece3d90d745cd3b952be8247092dc1e4c6570.tar.gz inkscape-e3dece3d90d745cd3b952be8247092dc1e4c6570.zip | |
Remove unused transform functions related to LPE and improvements to fill-betreen-* LPEs
Diffstat (limited to 'src/live_effects/lpe-patternalongpath.cpp')
| -rw-r--r-- | src/live_effects/lpe-patternalongpath.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/live_effects/lpe-patternalongpath.cpp b/src/live_effects/lpe-patternalongpath.cpp index a89dd6bba..57a3c3875 100644 --- a/src/live_effects/lpe-patternalongpath.cpp +++ b/src/live_effects/lpe-patternalongpath.cpp @@ -268,25 +268,6 @@ LPEPatternAlongPath::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > con } void -LPEPatternAlongPath::transform_multiply(Geom::Affine const& postmul, bool set) -{ - // overriding the Effect class default method, disabling transform forwarding to the parameters. - - // only take translations into account - // Check if proportional stroke-width scaling is on - Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - bool transform_stroke = prefs ? prefs->getBool("/options/transform/stroke", true) : true; - if (transform_stroke && !scale_y_rel) { - prop_scale.param_set_value(prop_scale * ((postmul.expansionX() + postmul.expansionY()) / 2)); - prop_scale.write_to_SVG(); - } - if (postmul.isTranslation()) { - pattern.param_transform_multiply(postmul, set); - pattern.write_to_SVG(); - } -} - -void LPEPatternAlongPath::addCanvasIndicators(SPLPEItem const */*lpeitem*/, std::vector<Geom::PathVector> &hp_vec) { hp_vec.push_back(helper_path); |
