Transform correctly the coordinates.
[reactos.git] / reactos / subsys / win32k / objects / brush.c
index 1e69f1e..8b36b4e 100644 (file)
@@ -480,6 +480,8 @@ IntPatBlt(
          DestRect.bottom = YLeft + dc->w.DCOrgY + 1;
       }
 
+      IntLPtoDP(dc, (LPPOINT)&DestRect, 2);
+
       BrushOrigin.x = BrushObj->ptOrigin.x + dc->w.DCOrgX;
       BrushOrigin.y = BrushObj->ptOrigin.y + dc->w.DCOrgY;