mirror of
https://github.com/reactos/reactos.git
synced 2024-08-11 21:58:10 +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.right = XDest+Width;
|
||||||
DestRect.bottom = YDest+Height;
|
DestRect.bottom = YDest+Height;
|
||||||
|
|
||||||
|
IntLPtoDP(DCDest, (LPPOINT)&DestRect, 2);
|
||||||
|
|
||||||
SourcePoint.x = XSrc;
|
SourcePoint.x = XSrc;
|
||||||
SourcePoint.y = YSrc;
|
SourcePoint.y = YSrc;
|
||||||
|
|
||||||
|
|
|
@ -480,6 +480,8 @@ IntPatBlt(
|
||||||
DestRect.bottom = YLeft + dc->w.DCOrgY + 1;
|
DestRect.bottom = YLeft + dc->w.DCOrgY + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
IntLPtoDP(dc, (LPPOINT)&DestRect, 2);
|
||||||
|
|
||||||
BrushOrigin.x = BrushObj->ptOrigin.x + dc->w.DCOrgX;
|
BrushOrigin.x = BrushObj->ptOrigin.x + dc->w.DCOrgX;
|
||||||
BrushOrigin.y = BrushObj->ptOrigin.y + dc->w.DCOrgY;
|
BrushOrigin.y = BrushObj->ptOrigin.y + dc->w.DCOrgY;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue