gdi: viewportExt changed after call to StrokePath.

This commit is contained in:
Tobias Loew 2006-01-31 12:57:14 +01:00 committed by Alexandre Julliard
parent 5c6301a5c9
commit 033ca37367
1 changed files with 2 additions and 2 deletions

View File

@ -1780,10 +1780,10 @@ static BOOL PATH_StrokePath(DC *dc, GdiPath *pPath)
/* Restore the old mapping mode */
SetMapMode(dc->hSelf, mapMode);
SetViewportExtEx(dc->hSelf, szViewportExt.cx, szViewportExt.cy, NULL);
SetViewportOrgEx(dc->hSelf, ptViewportOrg.x, ptViewportOrg.y, NULL);
SetWindowExtEx(dc->hSelf, szWindowExt.cx, szWindowExt.cy, NULL);
SetWindowOrgEx(dc->hSelf, ptWindowOrg.x, ptWindowOrg.y, NULL);
SetViewportExtEx(dc->hSelf, szViewportExt.cx, szViewportExt.cy, NULL);
SetViewportOrgEx(dc->hSelf, ptViewportOrg.x, ptViewportOrg.y, NULL);
/* Go to GM_ADVANCED temporarily to restore the world transform */
graphicsMode=GetGraphicsMode(dc->hSelf);