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/object/sp-item.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/object/sp-item.cpp')
| -rw-r--r-- | src/object/sp-item.cpp | 20 |
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) { |
