mirror of
https://github.com/reactos/reactos.git
synced 2024-07-13 16:15:05 +00:00
Transform correctly the coordinates.
svn path=/trunk/; revision=20452
This commit is contained in:
parent
484ec5bcf7
commit
5b6dea58e1
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue