diff options
| author | mathog <> | 2014-04-29 00:06:10 +0000 |
|---|---|---|
| committer | mathog <> | 2014-04-29 00:06:10 +0000 |
| commit | 752397f4edd00eed397464556e845b951ff65c57 (patch) | |
| tree | e07b82ef2094e0d669f92f9599c455c57565ce69 /src/extension/internal/emf-print.cpp | |
| parent | when removing LPE, with 'flattening' option, don't recalculate/rewrite ellips... (diff) | |
| download | inkscape-752397f4edd00eed397464556e845b951ff65c57.tar.gz inkscape-752397f4edd00eed397464556e845b951ff65c57.zip | |
Improved support for clipping on EMF/WMF import, see bug 1302857
(bzr r13322)
Diffstat (limited to 'src/extension/internal/emf-print.cpp')
| -rw-r--r-- | src/extension/internal/emf-print.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/extension/internal/emf-print.cpp b/src/extension/internal/emf-print.cpp index 8b80fec1c..9c68e40a4 100644 --- a/src/extension/internal/emf-print.cpp +++ b/src/extension/internal/emf-print.cpp @@ -34,6 +34,7 @@ #include <2geom/pathvector.h> #include <2geom/rect.h> #include <2geom/curves.h> +#include <sp-clippath.h> #include "helper/geom.h" #include "helper/geom-curves.h" @@ -975,6 +976,9 @@ unsigned int PrintEmf::fill( { using Geom::X; using Geom::Y; + + SPItem *item = SP_ITEM(style->object); + SPClipPath *scp = (item->clip_ref ? item->clip_ref->getObject() : NULL); Geom::Affine tf = m_tr_stack.top(); |
