summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2012-04-29 11:43:27 +0000
committerapenner <penner@vaxxine.com>2012-04-29 11:43:27 +0000
commitd41c78262346bf814bfa393c23e553729ef3f95f (patch)
treece4e280b54e3d76c334306cae47f4b6a3e509586 /src
parentpowerstroke: restrict the 'ray' values for ellipses that powerstroke can gene... (diff)
downloadinkscape-d41c78262346bf814bfa393c23e553729ef3f95f.tar.gz
inkscape-d41c78262346bf814bfa393c23e553729ef3f95f.zip
emf import. use EMR_EXTSELECTCLIPRGN to cancel clipping (Bug 990083)
Fixed bugs: - https://launchpad.net/bugs/990083 (bzr r11307)
Diffstat (limited to 'src')
-rw-r--r--src/extension/internal/emf-win32-inout.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/extension/internal/emf-win32-inout.cpp b/src/extension/internal/emf-win32-inout.cpp
index bb7f22a70..f54bfc6ea 100644
--- a/src/extension/internal/emf-win32-inout.cpp
+++ b/src/extension/internal/emf-win32-inout.cpp
@@ -1757,8 +1757,14 @@ myEnhMetaFileProc(HDC /*hDC*/, HANDLETABLE * /*lpHTable*/, ENHMETARECORD const *
dbg_str << "<!-- EMR_PAINTRGN -->\n";
break;
case EMR_EXTSELECTCLIPRGN:
+ {
dbg_str << "<!-- EMR_EXTSELECTCLIPRGN -->\n";
+
+ PEMREXTSELECTCLIPRGN pEmr = (PEMREXTSELECTCLIPRGN) lpEMFR;
+ if (pEmr->iMode == RGN_COPY)
+ clipset = false;
break;
+ }
case EMR_BITBLT:
{
dbg_str << "<!-- EMR_BITBLT -->\n";