Charles Davis : gdi32/enhmfdrv: Get the source transformation from the source DC.

Alexandre Julliard julliard at winehq.org
Mon Nov 23 08:49:55 CST 2009


Module: wine
Branch: master
Commit: 5e17b04df7b683406084bb84a81c14951f0329c9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5e17b04df7b683406084bb84a81c14951f0329c9

Author: Charles Davis <cdavis at mymail.mines.edu>
Date:   Sun Nov 22 13:25:34 2009 -0700

gdi32/enhmfdrv: Get the source transformation from the source DC.

---

 dlls/gdi32/enhmfdrv/bitblt.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/dlls/gdi32/enhmfdrv/bitblt.c b/dlls/gdi32/enhmfdrv/bitblt.c
index 9d87c7f..1a84c32 100644
--- a/dlls/gdi32/enhmfdrv/bitblt.c
+++ b/dlls/gdi32/enhmfdrv/bitblt.c
@@ -119,12 +119,7 @@ static BOOL EMFDRV_BitBlockTransfer(
     pEMR->dwRop = rop;
     pEMR->xSrc = xSrc;
     pEMR->ySrc = ySrc;
-    pEMR->xformSrc.eM11 = 1.0;  /** FIXME:           */
-    pEMR->xformSrc.eM12 = 0.0;  /** Setting default  */
-    pEMR->xformSrc.eM21 = 0.0;  /** value.           */
-    pEMR->xformSrc.eM22 = 1.0;  /** Where should we  */
-    pEMR->xformSrc.eDx = 0.0;   /** get that info    */
-    pEMR->xformSrc.eDy = 0.0;   /** ????             */
+    GetWorldTransform(physDevSrc->hdc, &pEMR->xformSrc);
     pEMR->crBkColorSrc = GetBkColor(physDevSrc->hdc);
     pEMR->iUsageSrc = DIB_RGB_COLORS;
     pEMR->offBmiSrc = emrSize;




More information about the wine-cvs mailing list