summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/emf-print.cpp
diff options
context:
space:
mode:
authormathog <>2014-04-29 00:06:10 +0000
committermathog <>2014-04-29 00:06:10 +0000
commit752397f4edd00eed397464556e845b951ff65c57 (patch)
treee07b82ef2094e0d669f92f9599c455c57565ce69 /src/extension/internal/emf-print.cpp
parentwhen removing LPE, with 'flattening' option, don't recalculate/rewrite ellips... (diff)
downloadinkscape-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.cpp4
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();