[ros-diffs] [gschneider] 39485: Evgeny Boltik, <BSTSoft AT narod DOT ru>: Convert BitBlt source coordinates (destination coordinates were converted already)

gschneider at svn.reactos.org gschneider at svn.reactos.org
Sun Feb 8 15:54:42 CET 2009


Author: gschneider
Date: Sun Feb  8 08:54:41 2009
New Revision: 39485

URL: http://svn.reactos.org/svn/reactos?rev=39485&view=rev
Log:
Evgeny Boltik, <BSTSoft AT narod DOT ru>: Convert BitBlt source coordinates (destination coordinates were converted already)

Modified:
    trunk/reactos/subsystems/win32/win32k/objects/bitblt.c

Modified: trunk/reactos/subsystems/win32/win32k/objects/bitblt.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/bitblt.c?rev=39485&r1=39484&r2=39485&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/bitblt.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/bitblt.c [iso-8859-1] Sun Feb  8 08:54:41 2009
@@ -259,6 +259,10 @@
 
 	SourcePoint.x = XSrc;
 	SourcePoint.y = YSrc;
+	if (UsesSource)
+	{
+		IntLPtoDP(DCSrc, (LPPOINT)&SourcePoint, 1);
+	}
 
 	BrushOrigin.x = 0;
 	BrushOrigin.y = 0;



More information about the Ros-diffs mailing list