mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Transform correctly the coordinates.
svn path=/trunk/; revision=20452
This commit is contained in:
@@ -116,6 +116,8 @@ NtGdiBitBlt(
|
||||
DestRect.right = XDest+Width;
|
||||
DestRect.bottom = YDest+Height;
|
||||
|
||||
IntLPtoDP(DCDest, (LPPOINT)&DestRect, 2);
|
||||
|
||||
SourcePoint.x = XSrc;
|
||||
SourcePoint.y = YSrc;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user