diff options
| author | Alvin Penner <penner@vaxxine.com> | 2012-10-06 20:54:38 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2012-10-06 20:54:38 +0000 |
| commit | c48285ed644898a01d698ca67b6cfdbbe80573b4 (patch) | |
| tree | 928aa64272cba15626288d5e1092cb272473e097 /src | |
| parent | powerstroke: add arc-extrapolation, but disable it for release (diff) | |
| download | inkscape-c48285ed644898a01d698ca67b6cfdbbe80573b4.tar.gz inkscape-c48285ed644898a01d698ca67b6cfdbbe80573b4.zip | |
emf import. support for PATCOPY in EMR_BITBLT (Bug 1060141)
Fixed bugs:
- https://launchpad.net/bugs/1060141
(bzr r11743)
Diffstat (limited to 'src')
| -rw-r--r-- | src/extension/internal/emf-win32-inout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/internal/emf-win32-inout.cpp b/src/extension/internal/emf-win32-inout.cpp index 7593a4806..2097402c7 100644 --- a/src/extension/internal/emf-win32-inout.cpp +++ b/src/extension/internal/emf-win32-inout.cpp @@ -1815,7 +1815,7 @@ myEnhMetaFileProc(HDC /*hDC*/, HANDLETABLE * /*lpHTable*/, ENHMETARECORD const * dbg_str << "<!-- EMR_BITBLT -->\n"; PEMRBITBLT pEmr = (PEMRBITBLT) lpEMFR; - if (pEmr->dwRop == DPA) { + if ((pEmr->dwRop == PATCOPY) || (pEmr->dwRop == DPA)) { // should be an application of a DIBPATTERNBRUSHPT, use a solid color instead double l = pix_to_x_point( d, pEmr->xDest, pEmr->yDest); double t = pix_to_y_point( d, pEmr->xDest, pEmr->yDest); |
