summaryrefslogtreecommitdiffstats
path: root/src/object/sp-item.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-12-15 18:45:32 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-12-15 18:45:32 +0000
commite3dece3d90d745cd3b952be8247092dc1e4c6570 (patch)
treeccfd27a9135b40dfdf1740f5579c4c937c0534cd /src/object/sp-item.cpp
parentRound-trip SVG 2 flowed text with SVG 1.1 backup. (diff)
downloadinkscape-e3dece3d90d745cd3b952be8247092dc1e4c6570.tar.gz
inkscape-e3dece3d90d745cd3b952be8247092dc1e4c6570.zip
Remove unused transform functions related to LPE and improvements to fill-betreen-* LPEs
Diffstat (limited to 'src/object/sp-item.cpp')
-rw-r--r--src/object/sp-item.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp
index edf216481..cbfd126f9 100644
--- a/src/object/sp-item.cpp
+++ b/src/object/sp-item.cpp
@@ -1411,26 +1411,6 @@ void SPItem::adjust_paint_recursive (Geom::Affine advertized_transform, Geom::Af
}
}
-void SPItem::adjust_livepatheffect (Geom::Affine const &postmul, bool set)
-{
- SPLPEItem *lpeitem = dynamic_cast<SPLPEItem *>(this);
- if ( lpeitem && lpeitem->hasPathEffect() ) {
- lpeitem->forkPathEffectsIfNecessary();
- // now that all LPEs are forked_if_necessary, we can apply the transform
- PathEffectList effect_list = lpeitem->getEffectList();
- for (PathEffectList::iterator it = effect_list.begin(); it != effect_list.end(); ++it)
- {
- LivePathEffectObject *lpeobj = (*it)->lpeobject;
- if (lpeobj) {
- Inkscape::LivePathEffect::Effect * lpe = lpeobj->get_lpe();
- if (lpe && lpe->isReady()) {
- lpe->transform_multiply(postmul, set);
- }
- }
- }
- }
-}
-
// CPPIFY:: make pure virtual?
// Not all SPItems must necessarily have a set transform method!
Geom::Affine SPItem::set_transform(Geom::Affine const &transform) {