Transform correctly the coordinates.

svn path=/trunk/; revision=20452
This commit is contained in:
Filip Navara 2005-12-30 01:19:41 +00:00
parent 484ec5bcf7
commit 5b6dea58e1
2 changed files with 4 additions and 0 deletions

View file

@ -116,6 +116,8 @@ NtGdiBitBlt(
DestRect.right = XDest+Width;
DestRect.bottom = YDest+Height;
IntLPtoDP(DCDest, (LPPOINT)&DestRect, 2);
SourcePoint.x = XSrc;
SourcePoint.y = YSrc;

View 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;