Fix problem with display location for some composited images

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30228 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Doug Simons 2010-04-23 23:01:34 +00:00
parent 7d826fbd3c
commit cca4dec810
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2010-04-20 Doug Simons <doug.simons@testplant.com>
* Source/winlib/WIN32GState.m:
Fix problem with display location for some composited images.
2010-04-20 Doug Simons <doug.simons@testplant.com>
* Source/win32/WIN32Server.m:

View file

@ -283,6 +283,7 @@ BOOL alpha_blend_source_over(HDC destDC,
[source->ctm boundingRectFor: sourceRect result: &newRect];
rectFrom = GSWindowRectToMS(source, newRect);
y += (sourceRect.size.height - newRect.size.height); // adjust location for scaled source
}
h = rectFrom.bottom - rectFrom.top;
w = rectFrom.right - rectFrom.left;